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

Dan McGee dan at archlinux.org
Sun May 31 16:51:30 UTC 2009


    Date: Sunday, May 31, 2009 @ 12:51:30
  Author: dan
Revision: 40807

upgpkg: vim-bufexplorer 7.2.2-2
    rebuilds for plugin location move

Modified:
  vim-bufexplorer/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-31 16:51:27 UTC (rev 40806)
+++ PKGBUILD	2009-05-31 16:51:30 UTC (rev 40807)
@@ -4,7 +4,7 @@
 pkgname=vim-bufexplorer
 pkgver=7.2.2
 _scriptid=9524
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple buffer list/switcher for vim "
 arch=(i686 x86_64)
 url="http://www.vim.org/scripts/script.php?script_id=42"
@@ -18,16 +18,18 @@
          'b1a7f22e90469abdad3ffd55120e6887')
 
 build() {
-  cd $startdir/src
+  cd $srcdir
   mv download_script.php?src_id=$_scriptid bufexplorer.zip
   bsdtar -xf bufexplorer.zip
 
+  installpath="$pkgdir/usr/share/vim/vim72"
+
   install -D -m644 doc/bufexplorer.txt \
-      $startdir/pkg/usr/share/vim/doc/bufexplorer.txt
+      $installpath/doc/bufexplorer.txt
 
   install -D -m644 plugin/bufexplorer.vim \
-      $startdir/pkg/usr/share/vim/plugin/bufexplorer.vim
+      $installpath/plugin/bufexplorer.vim
 
   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