updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-visincr / PKGBUILD
blobb0f2c61983acbc14a71936f6d538fd034402650c
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-visincr
3 pkgver=19
4 _scriptid=8073
5 pkgrel=1
6 pkgdesc="Produce increasing/decreasing columns of numbers, dates, or daynames"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=670"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('2f5a5b6c5957757ef8436bc069e4a29e'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,autoload}
20     vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
21     install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/doc/ || return 1
22     install -Dm755 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/plugin/ || return 1
23     install -Dm755 ${srcdir}/autoload/* ${pkgdir}/usr/share/vim/autoload/ || return 1
24     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt