updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / vim-bandit / PKGBUILD
blob788471078c3ae0c0d607ddce83f131afca47f05d
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-bandit
3 pkgver=r274
4 _scriptid=10977
5 pkgrel=1
6 pkgdesc="Colour Scheme"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=2645"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.vba::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('e5689f5c89c3cb679b416ab94dc22893'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{syntax,colors}
20     vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
21     install -Dm755 ${srcdir}/syntax/* ${pkgdir}/usr/share/vim/syntax/ || return 1
22     install -Dm755 ${srcdir}/colors/* ${pkgdir}/usr/share/vim/colors/ || return 1
23     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt