[arch-commits] Commit in vim-vcscommand/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Sun May 31 12:53:07 EDT 2009


    Date: Sunday, May 31, 2009 @ 12:53:06
  Author: dan
Revision: 40827

upgpkg: vim-vcscommand 29-2
    rebuilds for plugin location move

Modified:
  vim-vcscommand/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-31 16:53:04 UTC (rev 40826)
+++ PKGBUILD	2009-05-31 16:53:06 UTC (rev 40827)
@@ -5,7 +5,7 @@
 #Real version BetaXX
 pkgver=29
 _scriptid=9965
-pkgrel=1
+pkgrel=2
 pkgdesc="vim cvs/svn integration plugin"
 arch=(i686 x86_64)
 url="http://www.vim.org/scripts/script.php?script_id=90"
@@ -21,16 +21,17 @@
 
 build()
 {
-  cd $startdir/src
+  cd $srcdir
   mv download_script.php?src_id=$_scriptid vcscommand.zip
   bsdtar -xf vcscommand.zip
 
-  mkdir -p $startdir/pkg/usr/share/vim/
-  cp -r doc plugin syntax $startdir/pkg/usr/share/vim
+  installpath="$pkgdir/usr/share/vim/vim72"
+  mkdir -p $installpath
+  cp -r doc plugin syntax $installpath
 
   #just in case....
-  find $startdir/pkg/usr/share/vim -type f -exec chmod 644 {} \;
+  find $installpath -type f -exec chmod 644 {} \;
 
   install -D -m644 license.txt \
-    $startdir/pkg/usr/share/licenses/$pkgname/license.txt
+    $pkgdir/usr/share/licenses/$pkgname/license.txt
 }



More information about the arch-commits mailing list