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

Dan McGee dan at archlinux.org
Sun May 31 12:52:58 EDT 2009


    Date: Sunday, May 31, 2009 @ 12:52:58
  Author: dan
Revision: 40825

upgpkg: vim-taglist 45-2
    rebuilds for plugin location move

Modified:
  vim-taglist/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-31 16:52:55 UTC (rev 40824)
+++ PKGBUILD	2009-05-31 16:52:58 UTC (rev 40825)
@@ -5,7 +5,7 @@
 pkgname=vim-taglist
 pkgver=45
 _scriptid=7701
-pkgrel=1
+pkgrel=2
 pkgdesc="A source code browser plugin for vim"
 arch=(i686 x86_64)
 url="http://vim-taglist.sourceforge.net/"
@@ -18,16 +18,18 @@
 md5sums=('99b5366a64eea6092bb140df7d4c1a95' 'efbd5986e691ce8c876fb86e8f5961ea')
 
 build() {
-  cd $startdir/src
+  cd $srcdir
   mv download_script.php?src_id=$_scriptid taglist_$pkgver.zip
   unzip -qqo taglist_$pkgver.zip
 
-  mkdir -p $startdir/pkg/usr/share/vim/doc/
-  install -m644 doc/taglist.txt $startdir/pkg/usr/share/vim/doc/
+  installpath="$pkgdir/usr/share/vim/vim72"
 
-  mkdir -p $startdir/pkg/usr/share/vim/plugin/
-  install -m644 plugin/taglist.vim $startdir/pkg/usr/share/vim/plugin/
+  mkdir -p $installpath/doc/
+  install -m644 doc/taglist.txt $installpath/doc/
 
-  mkdir -p $startdir/pkg/usr/share/licenses/vim-taglist/
-  install -m644 $startdir/src/license.txt $startdir/pkg/usr/share/licenses/vim-taglist/
+  mkdir -p $installpath/plugin/
+  install -m644 plugin/taglist.vim $installpath/plugin/
+
+  mkdir -p $pkgdir/usr/share/licenses/vim-taglist/
+  install -m644 $srcdir/license.txt $pkgdir/usr/share/licenses/vim-taglist/
 }



More information about the arch-commits mailing list