#$Id: PKGBUILD 49642 2009-08-14 06:22:27Z tobias $ #Maintainer: Aaron Griffin pkgname=vim-vcscommand #Real version BetaXX pkgver=29 _scriptid=9965 pkgrel=3 pkgdesc="vim cvs/svn integration plugin" arch=(i686 x86_64) 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 install=vimdoc.install source=(http://www.vim.org/scripts/download_script.php?src_id=$_scriptid license.txt) md5sums=('010292b04d5d8b2c37fc14f510864137' 'cc76e422214169f380e6a1548f617778') build() { cd $srcdir mv download_script.php?src_id=$_scriptid vcscommand.zip bsdtar -xf vcscommand.zip installpath="$pkgdir/usr/share/vim/vimfiles" mkdir -p $installpath cp -r doc plugin syntax $installpath #just in case.... find $installpath -type f -exec chmod 644 {} \; install -D -m644 license.txt \ $pkgdir/usr/share/licenses/$pkgname/license.txt }