updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / vim-lua-support / PKGBUILD
blob8b62ae2769f0703208a6ad2a7f891323c48b2cb0
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-lua-support
3 pkgver=1.1
4 _scriptid=7313
5 pkgrel=4
6 pkgdesc="Lua-IDE -- Write and run Lua-scripts using menus and hotkeys"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=1763"
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=('dc5c7f39f4eac33be7b7772751a26496'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,ftplugin,plugin,lua-support}
21     for x in "doc"; do
22                 install -Dm644 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/vimfiles/$x/ || return 1;
23         done
25     for x in "plugin" "ftplugin"; do
26                 install -Dm755 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/vimfiles/$x/ || return 1;
27         done
29     cp -aR ${srcdir}/lua-support/* ${pkgdir}/usr/share/vim/vimfiles/lua-support || return 1
30     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1