updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-decho / PKGBUILD
blob9d8d4feec63548ff91ecac33555b62dcc8ee1181
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-decho
3 pkgver=20
4 _scriptid=9388
5 pkgrel=1
6 pkgdesc="Vim script internal debugger (output in separate window, tab, or remote vim)"
7 arch=(i686 x86_64)
8 url="http://www.vim.org/scripts/script.php?script_id=120"
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=('15007341b47d6bffede5922608d70be1'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,syntax}
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}/syntax/* ${pkgdir}/usr/share/vim/syntax/ || return 1
24     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt