PKGBUILDs/extra/vim-colorsamplerpack/PKGBUILD

33 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 40811 2009-05-31 16:51:58Z dan $
# Maintainer : Aaron Griffin <aaron@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)
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')
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 ..
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
}