1 # Contributor: Johannes Dewender < arch at JonnyJD dot net >
6 pkgdesc="Personal Wiki for Vim"
8 url="http://code.google.com/p/vimwiki/"
10 groups=('vim-plugins')
12 makedepends=('mercurial')
13 conflicts=('vim-vimwiki')
14 provides=('vim-vimwiki')
15 install=vimdoc.install
17 md5sums=('e19fa0689d06a724fc8ddfe824ef2680')
19 _hgroot="https://code.google.com/p"
24 msg "Connecting to Mercurial server...."
26 if [[ -d "$_hgrepo" ]]; then
29 msg "The local files are updated."
31 hg clone "$_hgroot" "$_hgrepo"
34 msg "Mercurial checkout done or server timeout"
38 install -d ${pkgdir}/usr/share/vim/vimfiles/autoload/vimwiki \
40 install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,ftplugin} \
42 install -d ${pkgdir}/usr/share/vim/vimfiles/{plugin,syntax}/ \
44 install -Dm644 ${srcdir}/vimwiki/src/autoload/vimwiki/* \
45 ${pkgdir}/usr/share/vim/vimfiles/autoload/vimwiki/ \
47 for x in {ftplugin,plugin,syntax}; do
48 install -Dm644 ${srcdir}/vimwiki/src/$x/* \
49 ${pkgdir}/usr/share/vim/vimfiles/$x/ \
52 install -Dm644 ${srcdir}/license.txt \
53 ${pkgdir}/usr/share/licenses/${pkgname}/license.txt \
55 install -Dm644 ${srcdir}/vimwiki/src/doc/vimwiki.txt \
56 ${pkgdir}/usr/share/vim/vimfiles/doc/ \
60 # vim:set ts=2 sw=2 et: