updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / vim-spellchecker / PKGBUILD
blobb794eddc665cb794e2239e8d0bf6ebdb597536e4
1 # Maintainer: Liming Wang <lmwang @ gmail at com>
2 # Contributor: Laszlo Papp <djszapi @ gmail at com>
3 pkgname=vim-spellchecker
4 pkgver=2.2.2
5 _scriptid=1789
6 pkgrel=2
7 pkgdesc="Spell check text including LaTeX documents"
8 arch=(i686 x86_64)
9 url="http://www.vim.org/scripts/script.php?script_id=499"
10 license=('custom')
11 depends=(vim)
12 groups=('vim-plugins')
13 install=vimdoc.install
14 source=(${pkgname}.zip::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}
15         license.txt)
16 md5sums=('cd0c195471fa83642a6c15abdae31d43'
17          'efbd5986e691ce8c876fb86e8f5961ea')
19 build() {
20     install -d ${pkgdir}/usr/share/vim/vimfiles/{doc,plugin,dict}
21     install -Dm755 ${srcdir}/doc/* ${pkgdir}/usr/share/vim/vimfiles/doc/ || return 1
22     install -Dm755 ${srcdir}/dict/* ${pkgdir}/usr/share/vim/vimfiles/dict/ || return 1
23     install -Dm755 ${srcdir}/plugin/* ${pkgdir}/usr/share/vim/vimfiles/plugin/ || return 1
24     install -Dm755 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt