updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / vim-hypergit / PKGBUILD
blob1d6698d9e0cb90d969ec42520bbccb737c3e353f
1 # Maintainer: Albert Chang <albert.chang@gmx.com>
2 pkgname=vim-hypergit
3 pkgver=0.7
4 _scriptid=12689
5 pkgrel=1
6 pkgdesc='git plugin for vim (with a git tree menu)'
7 arch=('any')
8 url='http://www.vim.org/scripts/script.php?script_id=2954'
9 license=('custom')
10 depends=('vim>=7.0' 'git')
11 install=vimdoc.install
13 source=("${pkgname}-${pkgver}.tar.gz"::"http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}")
14 md5sums=('42947df1aedc19f0b844d7a4a0930092')
16 package() {
17     cd "${srcdir}"
19     find ./ -type f -exec chmod 644 "{}" \;
21     _installdir="${pkgdir}/usr/share/vim/vimfiles"
23     mkdir -p ${_installdir}
24     cp -rv after ${_installdir}
25     cp -rv autoload ${_installdir}
26     cp -rv doc ${_installdir}
27     cp -rv plugin ${_installdir}
28     cp -rv syntax ${_installdir}