Date: Wednesday, January 5, 2011 @ 11:14:06
  Author: andrea
Revision: 104950

upgpkg: vim-minibufexpl 6.3.2-7
fix source; switch to arch any

Modified:
  vim-minibufexpl/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-01-05 16:11:45 UTC (rev 104949)
+++ PKGBUILD    2011-01-05 16:14:06 UTC (rev 104950)
@@ -1,10 +1,10 @@
 # $Id$
-# Contributor: Aaron Griffin <[email protected]>
 # Maintainer: Daniel J Griffiths <[email protected]>
+# Contributor: Aaron Griffin <[email protected]>
 
 pkgname=vim-minibufexpl
 pkgver=6.3.2
-pkgrel=6
+pkgrel=7
 _scriptid=3640
 pkgdesc="An elegant buffer explorer for vim"
 arch=('any')
@@ -12,22 +12,15 @@
 license=('custom')
 depends=('vim')
 groups=('vim-plugins')
-source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid 
LICENSE)
-md5sums=('c47a9d844788daa38563c4e33c8f0d6e' 'aa6bc9c176702f23ee9f8476f72e3971')
+source=(minibufexpl.vim::"http://www.vim.org/scripts/download_script.php?src_id=$_scriptid";
+        'LICENSE')
+md5sums=('c47a9d844788daa38563c4e33c8f0d6e'
+        'aa6bc9c176702f23ee9f8476f72e3971')
 
-build() {
-       cd ${srcdir}
-
-       mv download_script.php?src_id=$_scriptid minibufexpl.vim
-}
-
 package() {
-       cd ${srcdir}
+  cd ${srcdir}
+  installpath="${pkgdir}/usr/share/vim/vimfiles"
 
-       installpath="${pkgdir}/usr/share/vim/vimfiles"
-
-       install -D -m644 minibufexpl.vim \
-          $installpath/plugin/minibufexpl.vim || return 1
-       install -D -m644 LICENSE \
-          ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+  install -D -m644 minibufexpl.vim $installpath/plugin/minibufexpl.vim
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
 }

Reply via email to