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

Daniel Griffiths dgriffiths at archlinux.org
Mon Feb 15 21:10:08 UTC 2010


    Date: Monday, February 15, 2010 @ 16:10:07
  Author: dgriffiths
Revision: 68982

FS#18248

Modified:
  vim-bufexplorer/trunk/PKGBUILD
  vim-bufexplorer/trunk/vimdoc.install

----------------+
 PKGBUILD       |   32 +++++++++++++++++++-------------
 vimdoc.install |    7 +------
 2 files changed, 20 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-15 21:08:07 UTC (rev 68981)
+++ PKGBUILD	2010-02-15 21:10:07 UTC (rev 68982)
@@ -1,12 +1,13 @@
 #$Id$
-#Maintainer: Aaron Griffin <aaron at archlinux.org>
+#Contributor: Aaron Griffin <aaron at archlinux.org>
+#Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=vim-bufexplorer
 pkgver=7.2.2
 _scriptid=9524
-pkgrel=3
+pkgrel=4
 pkgdesc="A simple buffer list/switcher for vim "
-arch=(i686 x86_64)
+arch=('any')
 url="http://www.vim.org/scripts/script.php?script_id=42"
 license=('custom')
 depends=('vim>=7.0')
@@ -18,18 +19,23 @@
          'b1a7f22e90469abdad3ffd55120e6887')
 
 build() {
-  cd $srcdir
-  mv download_script.php?src_id=$_scriptid bufexplorer.zip
-  bsdtar -xf bufexplorer.zip
+	cd ${srcdir}
 
-  installpath="$pkgdir/usr/share/vim/vimfiles"
+	mv download_script.php?src_id=$_scriptid bufexplorer.zip
+	bsdtar -xf bufexplorer.zip
+}
 
-  install -D -m644 doc/bufexplorer.txt \
-      $installpath/doc/bufexplorer.txt
+package() {
+	cd ${srcdir}
 
-  install -D -m644 plugin/bufexplorer.vim \
-      $installpath/plugin/bufexplorer.vim
+	installpath="${pkgdir}/usr/share/vim/vimfiles"
 
-  install -D -m644 license.txt \
-      $pkgdir/usr/share/licenses/$pkgname/license.txt
+	install -D -m644 doc/bufexplorer.txt \
+	      $installpath/doc/bufexplorer.txt
+
+	install -D -m644 plugin/bufexplorer.vim \
+	      $installpath/plugin/bufexplorer.vim
+
+	install -D -m644 license.txt \
+	      ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
 }

Modified: vimdoc.install
===================================================================
--- vimdoc.install	2010-02-15 21:08:07 UTC (rev 68981)
+++ vimdoc.install	2010-02-15 21:10:07 UTC (rev 68982)
@@ -1,7 +1,7 @@
 post_install() {
     echo -n "Updating vim help tags..."
     /usr/bin/vim --noplugins -u NONE -U NONE \
-        --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
+        --cmd ":helptags /usr/share/vim/vimfiles/doc" --cmd ":q" > /dev/null 2>&1
     echo "done."
 }
 
@@ -12,8 +12,3 @@
 post_remove() {
   post_install
 }
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list