Date: Wednesday, August 13, 2014 @ 10:39:57
  Author: lfleischer
Revision: 117351

upgpkg: vim-jedi 0.7.0-5

Fix licensing issues (FS#41521).

Modified:
  vim-jedi/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-08-13 08:36:09 UTC (rev 117350)
+++ PKGBUILD    2014-08-13 08:39:57 UTC (rev 117351)
@@ -4,11 +4,11 @@
 pkgname=vim-jedi
 _reponame=jedi-vim
 pkgver=0.7.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Vim plugin for jedi, an awesome Python autocompletion.'
 arch=('any')
 url="https://github.com/davidhalter/${_reponame}";
-license=('LGPL3')
+license=('MIT')
 depends=('vim' 'python-jedi' 'python')
 optdepends=('vim-supertab: for tab completion'
             'python2-jedi: for Python 3 support')
@@ -31,7 +31,7 @@
 package() {
   cd "$srcdir/$_reponame-$pkgver"
 
-  install -d ${pkgdir}/usr/share/vim/vimfiles/
+  install -d "${pkgdir}/usr/share/vim/vimfiles"
 
   cp -dp --no-preserve=ownership jedi_vim.py initialize.py 
"${pkgdir}/usr/share/vim/vimfiles/"
   cp -dpr --no-preserve=ownership after 
"${pkgdir}/usr/share/vim/vimfiles/after"
@@ -38,4 +38,7 @@
   cp -dpr --no-preserve=ownership autoload 
"${pkgdir}/usr/share/vim/vimfiles/autoload"
   cp -dpr --no-preserve=ownership ftplugin 
"${pkgdir}/usr/share/vim/vimfiles/ftplugin"
   cp -dpr --no-preserve=ownership plugin 
"${pkgdir}/usr/share/vim/vimfiles/plugin"
+
+  # install license file
+  install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }

Reply via email to