updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / vim-minscm / PKGBUILD
blob2c6958b7dcc5fccc297c7d74ef78a63851818d25
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-minscm
3 pkgver=0.6.0
4 _scriptid=10836
5 pkgrel=3
6 pkgdesc="An abstract front-end for Mercurial/Git/Bazaar"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=2637"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('b6a40c3573ddeac763584d3a38751cef'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,syntax} ${pkgdir}/usr/share/vim/autoload/minscm
20     for x in "doc"; do install -Dm644 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
21     for x in "plugin" "syntax"; do install -Dm755 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
22     cp -aR ${srcdir}/autoload/* ${pkgdir}/usr/share/vim/autoload/ || return 1
23     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1