Date: Sunday, December 20, 2009 @ 13:05:57
  Author: andrea
Revision: 61628

upgpkg: vim-colorsamplerpack 7.01-1
    upstream release; arch=any

Modified:
  vim-colorsamplerpack/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2009-12-20 18:04:11 UTC (rev 61627)
+++ PKGBUILD    2009-12-20 18:05:57 UTC (rev 61628)
@@ -2,31 +2,30 @@
 # Maintainer : Aaron Griffin <aa...@archlinux.org>
 
 pkgname=vim-colorsamplerpack
-pkgver=6.0
-pkgrel=2
-_scriptid=9405
-pkgdesc="Different colorschemes (all as of October 28, 2008) for vim"
-arch=(i686 x86_64)
+pkgver=7.01
+pkgrel=1
+_scriptid=10775
+pkgdesc="Different colorschemes for vim"
+arch=('any')
 url="http://www.vim.org/scripts/script.php?script_id=625";
 license=('GPL2' 'GPL3' 'custom')
 depends=('vim')
 makedepends=('unzip')
 groups=('vim-plugins')
-source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid 
LICENSE)
-md5sums=('d72f8491ba22f4a0620b520bbc6ed772' 'f4639ddafc68f49395c25fb4caf0d6f7')
+source=(ColorSamplerPack.zip::"http://www.vim.org/scripts/download_script.php?src_id=$_scriptid";
+       'LICENSE')
+md5sums=('3bd594e85610d8d723084f5544d4b3fd'
+       'f4639ddafc68f49395c25fb4caf0d6f7')
 
 build() {
-  cd $srcdir
-  mv download_script.php?src_id=$_scriptid ColorSamplerPack.zip
-  unzip -qqo ColorSamplerPack.zip
-  # These already exist... we can't update them 8(
-  cd colors
-  rm delek.vim desert.vim torte.vim
-  cd ..
+  cd ${srcdir}/colors
+  # This already exist... we can't update it 8(
+  rm torte.vim
 
+  cd ${srcdir}
   installpath="$pkgdir/usr/share/vim/vim72"
   install -d $installpath/colors/
   install -m644 colors/* $installpath/colors || return 1
   install -D -m644 plugin/color_sample_pack.vim $installpath/plugin/themes.vim 
|| return 1
-  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || 
return 1
 }

Reply via email to