1 # Maintainer: Peter Lewis <plewis@aur.archlinux.org>
2 # Contributor: Florian Friesdorf <archlinux@chaoflow.net>
3 # Contributor: Laszlo Papp <djszapi @ gmail at com>
9 pkgdesc="The Vim Outliner - one of many"
11 url="http://www.vim.org/scripts/script.php?script_id=517"
13 groups=('vim-plugins')
15 conflicts=('vimoutliner' 'vim-vimoutliner')
16 replaces=('vimoutliner')
17 optdepends=('ruby: for otl2pod, opml2otl, doc2otl, otl2swiki'
18 'antiword: for doc2otl')
19 install=vimdoc.install
21 ${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=$_srcid
23 md5sums=('ded940d96731de00e4b653a3cdabde4c')
28 vimdir=${pkgdir}/usr/share/vim/vimfiles
29 docdir=${pkgdir}/usr/share/doc/${pkgname}
30 scriptsdir=${pkgdir}/usr/bin
31 sharedir=${vimdir}/usr/share/${pkgname}
35 ${srcdir}/{FAQ.txt,INSTALL,MANIFEST,README.otl,changes.txt,versions.txt,easy.gvimrc,easy.vimrc} \
38 install -d ${scriptsdir}/
39 install -m755 ${srcdir}/{doc2otl,opml2otl,otl2*,otlParser.rb,pod2otl} \
42 for x in bitmaps/TVO doc ftdetect ftplugin macros syntax; do
43 install -d ${vimdir}/${x}/
44 install -m644 ${srcdir}/${x}/* ${vimdir}/${x}/