updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / vim-viki / PKGBUILD
blob31dd970fd28ec5f09b3f0f25ac1586f383245cf2
1 # Maintainer: Jason Seeley <jamiseeley (at) yahoo (dot) com>
2 # Contributer: Maintainer: Laszlo Papp <djszapi @ archlinux us>
4 pkgname=vim-viki
5 pkgver=3.19
6 _scriptid=14236
7 pkgrel=1
8 pkgdesc="A personal wiki for Vim"
9 arch=('any')
10 url="http://www.vim.org/scripts/script.php?script_id=861"
11 license=('GPL')
12 depends=(vim-tlib)
13 groups=('vim-plugins')
14 install=vimdoc.install
15 source=(${pkgname}.vba::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid})
17 build() {
18     install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin,autoload,compiler,indent,syntax}
19     install -d ${pkgdir}/usr/share/vim/vimfiles/ftplugin/bib
21     vim -c "UseVimball ${srcdir}" -c "q" ${pkgname}.vba
22     
23     install -Dm644 ${srcdir}/doc/viki.txt ${pkgdir}/usr/share/vim/vimfiles/doc/
24     install -Dm644 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/
25     install -Dm644 ${srcdir}/autoload/* ${pkgdir}/usr/share/vim/vimfiles/autoload/
26     install -Dm644 ${srcdir}/compiler/* ${pkgdir}/usr/share/vim/vimfiles/compiler/
27     install -Dm644 ${srcdir}/indent/* ${pkgdir}/usr/share/vim/vimfiles/indent/
28     install -Dm644 ${srcdir}/syntax/* ${pkgdir}/usr/share/vim/vimfiles/syntax/
30     install -Dm644 ${srcdir}/ftplugin/viki.vim ${pkgdir}/usr/share/vim/vimfiles/ftplugin/
31     install -Dm644 ${srcdir}/ftplugin/bib/* ${pkgdir}/usr/share/vim/vimfiles/ftplugin/bib/
35 md5sums=('64ebd14609764e98b91f1e233e121e32')