1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 # Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
3 pkgname=vim-manpageview
8 pkgdesc='Viewer for manpages, gnu info, perldoc, and php (unix/linux/cygwin)'
10 #url="http://www.vim.org/scripts/script.php?script_id=489"
11 url='http://drchip.0sites.net/astronaut/vim/index.html#MANPAGEVIEW'
12 license=('custom:vim')
13 depends=('vim-runtime' 'vim-cecutil')
14 groups=('vim-plugins')
15 install='vimdoc.install'
16 #source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
17 source=("http://drchip.0sites.net/astronaut/vim/vbafiles/${_pkgname}.vba.gz"
19 manpageview.vim.diff.gz
22 _vimdir='/usr/share/vim/vimfiles'
24 install -d ${pkgdir}${_vimdir}/{doc,plugin,syntax,autoload}
26 vim -c "UseVimball $srcdir" -c "q" $_pkgname.vba
28 zcat -f manpageview.vim.diff.gz | patch -p0 || return 1
30 install -Dm644 ${srcdir}/$x/* ${pkgdir}${_vimdir}/$x/ || return 1;
33 for x in plugin syntax autoload; do
34 install -Dm644 ${srcdir}/$x/* ${pkgdir}${_vimdir}/$x/ || return 1;
37 install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1
38 rm -f ${pkgdir}${_vimdir}/doc/tags || return 1
39 rm -f ${pkgdir}${_vimdir}/plugin/cecutil.vim || return 1
42 md5sums=('f24567be92e4d8c44e2d5f5f3e8e69d0'
43 'efbd5986e691ce8c876fb86e8f5961ea'
44 'b7d47a773e82155687ee48274d809488')