updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-engspchk / PKGBUILD
blobcbf680f5353c6b8a6121395429ead2d3fa2292e1
1 # Maintainer: Laszlo Papp <djszapi @ gmail at com>
2 pkgname=vim-engspchk
3 pkgver=64
4 _scriptid=6351
5 pkgrel=3
6 pkgdesc="Spelling checker: On-the-fly spell checking, multi-language, alternate spellings"
7 arch=('i686' 'x86_64')
8 url="http://www.vim.org/scripts/script.php?script_id=195"
9 license=('custom')
10 depends=(vim)
11 groups=('vim-plugins')
12 install=vimdoc.install
13 source=(${pkgname}.tar.gz::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
14         license.txt)
15 md5sums=('a50f07feb33aa5c5db5501af70940354'
16          'efbd5986e691ce8c876fb86e8f5961ea')
18 build() {
19     install -d ${pkgdir}/usr/share/vim/{doc,plugin} ${pkgdir}/usr/share/vim/CVIMSYN/
20     for x in "doc"; do install -Dm644 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
21     for x in "plugin" "CVIMSYN"; do install -Dm755 ${srcdir}/$x/* ${pkgdir}/usr/share/vim/$x/ || return 1; done
22     install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1