1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 # Maintainer: Piotr Rogoża <rogoza dot piotr at gmail at com>
8 pkgdesc="Ascii drawing plugin: lines, ellipses, arrows, fills, and more!"
10 url="http://www.vim.org/scripts/script.php?script_id=40"
11 license=('custom:vim')
12 depends=('vim-runtime' 'vim-cecutil')
13 groups=('vim-plugins')
14 install='vimdoc.install'
15 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
20 _vimdir='/usr/share/vim/vimfiles'
21 install -d ${pkgdir}${_vimdir}/{doc,plugin,autoload}
22 vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
24 tar -c ./ --exclude ${pkgname}.vba.gz | tar -x -C ${pkgdir}${_vimdir} || return 1
25 install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1
26 rm -f ${pkgdir}${_vimdir}/.VimballRecord
27 rm -f ${pkgdir}${_vimdir}/doc/tags
28 rm -f ${pkgdir}${_vimdir}/license.txt
29 rm -f ${pkgdir}${_vimdir}/${pkgname}.vba
30 # conflict with vim-manpageview
31 rm -f ${pkgdir}${_vimdir}/plugin/cecutil.vim
34 md5sums=('95268486ce8c2a48054fc9ae57f8cae3'
35 'efbd5986e691ce8c876fb86e8f5961ea')