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

Daniel Griffiths dgriffiths at archlinux.org
Mon Feb 15 21:47:33 UTC 2010


    Date: Monday, February 15, 2010 @ 16:47:32
  Author: dgriffiths
Revision: 69007

Move to splitpkg format

Modified:
  vim-buftabs/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-15 21:38:16 UTC (rev 69006)
+++ PKGBUILD	2010-02-15 21:47:32 UTC (rev 69007)
@@ -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-buftabs
 pkgver=0.13
 _scriptid=10557
 pkgrel=2
 pkgdesc="Minimalistic buffer tabs saving screen space"
-arch=(i686 x86_64)
+arch=('any')
 url="http://www.vim.org/scripts/script.php?script_id=1664"
 license=('GPL')
 depends=('vim')
@@ -16,11 +17,14 @@
 sha256sums=('691b4d9bbae0314e64e9d3c39c98706adfb06804dfbece342c65a2d50d74e593')
 
 build() {
-  cd $startdir/src
-  mv download_script.php?src_id=$_scriptid buftabs.vim
+	cd ${srcdir}
 
-  installpath="$pkgdir/usr/share/vim/vimfiles"
+	mv download_script.php?src_id=$_scriptid buftabs.vim
+}
 
-  mkdir -p $installpath/plugin/
-  install -m644 buftabs.vim $installpath/plugin/
+package() {
+	cd ${srcdir}
+
+	installpath="${pkgdir}/usr/share/vim/vimfiles"
+	install -Dm644 buftabs.vim $installpath/plugin/buftabs.vim
 }




More information about the arch-commits mailing list