updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / vim-hoogle / PKGBUILD
blobd9e4e92b73aabe4626694e6540376e8083430641
1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> awagner on irc.freenode.net
2 # Contributor: Laszlo Papp <djszapi @ gmail at com>
3 pkgname=vim-hoogle
4 pkgver=1.3
5 _scriptid=15024
6 pkgrel=3
7 pkgdesc="Add commands to use Hoogle within vim"
8 arch=('i686' 'x86_64')
9 url="http://www.vim.org/scripts/script.php?script_id=2672"
10 license=('custom')
11 depends=('vim')
12 groups=('vim-plugins')
13 install=vimdoc.install
14 source=(${pkgname}.vba.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
15 license.txt)
17 build() {
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')