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

Eric Bélanger eric at archlinux.org
Mon Nov 2 00:24:45 EST 2009


    Date: Monday, November 2, 2009 @ 00:24:45
  Author: eric
Revision: 57787

upgpkg: vim-vcscommand 1.99.31-1
    Upstream update, Switched to 'any' arch

Modified:
  vim-vcscommand/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++------------------
 1 file changed, 14 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-11-02 04:31:18 UTC (rev 57786)
+++ PKGBUILD	2009-11-02 05:24:45 UTC (rev 57787)
@@ -2,36 +2,32 @@
 #Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=vim-vcscommand
-#Real version BetaXX
-pkgver=29
-_scriptid=9965
-pkgrel=3
+pkgver=1.99.31
+_scriptid=11049
+pkgrel=1
 pkgdesc="vim cvs/svn integration plugin"
-arch=(i686 x86_64)
+arch=('any')
 url="http://www.vim.org/scripts/script.php?script_id=90"
 license=('MIT')
 depends=('vim>=7.0')
 groups=('vim-plugins')
 replaces=('vim-vsccommand') #whoops, typo before
+options=('force')
 install=vimdoc.install
-source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid
+source=(vcscommand.zip::http://www.vim.org/scripts/download_script.php?src_id=$_scriptid
         license.txt)
-md5sums=('010292b04d5d8b2c37fc14f510864137'
-         'cc76e422214169f380e6a1548f617778')
+md5sums=('a31418cdb845a6881023330498f1cb06' 'cc76e422214169f380e6a1548f617778')
+sha1sums=('031dd2d9f02a7bc2c5ae68d4ce9edbfac080d7c4' 'a89f765481e070aa82456a48372bb05db9db0910')
 
-build()
-{
-  cd $srcdir
-  mv download_script.php?src_id=$_scriptid vcscommand.zip
-  bsdtar -xf vcscommand.zip
+build() {
+  cd "$srcdir"
 
   installpath="$pkgdir/usr/share/vim/vimfiles"
-  mkdir -p $installpath
-  cp -r doc plugin syntax $installpath
+  mkdir -p "$installpath"
+  cp -r doc plugin syntax "$installpath"
 
   #just in case....
-  find $installpath -type f -exec chmod 644 {} \;
+  find "$installpath" -type f -exec chmod 644 {} \;
 
-  install -D -m644 license.txt \
-    $pkgdir/usr/share/licenses/$pkgname/license.txt
+  install -D -m644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt"
 }



More information about the arch-commits mailing list