updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / vim-tlib / PKGBUILD
blob03ec6a15bc457f0b8d6689a0bb30656423cfdbab
1 # Maintainer: Jason Seeley <jamiseeley (at) yahoo (dot) com>
3 pkgname=vim-tlib
4 pkgver=0.41
5 _scriptid=14245
6 pkgrel=1
7 pkgdesc="Utility functions for VIM plugins"
8 arch=('any')
9 url="http://www.vim.org/scripts/script.php?script_id=1863"
10 license=('GPL')
11 depends=(vim)
12 groups=('vim-plugins')
13 install=vimdoc.install
14 source=(${pkgname}.vba::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
15 md5sums=('3fcbc4f7556f5378d39622e62ab8f379')
17 build() {
18     install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin,test}
19     install -d ${pkgdir}/usr/share/vim/vimfiles/autoload/tlib
21     vim -c "UseVimball ${srcdir}" -c "q" ${pkgname}.vba
22     
23     install -Dm644 ${srcdir}/autoload/tlib.vim ${pkgdir}/usr/share/vim/vimfiles/autoload/
24     install -Dm644 ${srcdir}/autoload/tlib/* ${pkgdir}/usr/share/vim/vimfiles/autoload/tlib/
25     install -Dm644 ${srcdir}/doc/tlib.txt ${pkgdir}/usr/share/vim/vimfiles/doc/
26     install -Dm644 ${srcdir}/test/* ${pkgdir}/usr/share/vim/vimfiles/test/
27     install -Dm644 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/
28