updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-cocoa / PKGBUILD
bloba822ecba8e275a957af682fb27777a68b94882be
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-cocoa
3 pkgver=0.1
4 _scriptid=10813
5 pkgrel=3
6 pkgdesc="Plugin for Cocoa/Objective-C development"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=2674"
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=('21cfb455e23b0b2d4662a085f16c9b59'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin,after,autoload,ftplugin,lib}
20     for x in "doc"; do install -Dm644 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
21     for x in "plugin" "ftplugin"; do install -Dm755 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
22     for x in "after" "autoload" "lib"; do cp -aR ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
23     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1