1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> awagner on irc.freenode.net
2 # Contributor: Laszlo Papp <djszapi @ gmail at com>
7 pkgdesc="Add commands to use Hoogle within vim"
9 url="http://www.vim.org/scripts/script.php?script_id=2672"
12 groups=('vim-plugins')
13 install=vimdoc.install
14 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
18 vim -c "UseVimball $srcdir" -c "q" ${pkgname}.vba
19 tr -d '\015' < $srcdir/vim-hoogle/plugin/hoogle.vim > t.$$
20 mv -f t.$$ $srcdir/vim-hoogle/plugin/hoogle.vim
21 mkdir -p ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin}
22 cp -r ${srcdir}/vim-hoogle/{doc,plugin} ${pkgdir}/usr/share/vim/vimfiles
23 install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
26 md5sums=('ce94fb9e77eb3d3f10bbd9df1834cdf7'
27 'efbd5986e691ce8c876fb86e8f5961ea')