updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vim-spell-pt-br / PKGBUILD
blob5ae914651cc6045bf20700d57e05eefcd02330db
1 # Maintainer: Robson R S Peixoto <robsonpeixoto@gmail.com>
2 # Contributor: Luiz Ribeiro <luizribeiro@gmail.com>
4 pkgname=vim-spell-pt-br
5 pkgver=20101030
6 pkgrel=1
7 pkgdesc="VIM spellchecker files for pt_BR using Vero from BrOffice.org."
8 depends=('vim')
9 makedepends=('unzip')
10 arch=('any')
11 license=('LGPL2.1')
12 options=('!libtool' '!strip')
13 conflicts=('vim-spell-pt')
14 url="http://www.broffice.org/verortografico/baixar"
15 source=(http://www.broffice.org/files/pt_BR-2010-10-30AOC3.zip)
16 md5sums=('744638d10e7605febf7abe2833246ed5')
18 build() {
19   cd $srcdir
21   LC_ALL=pt_BR.ISO-8859-1 vim -u NONE -c "set encoding=latin1" \
22                               -c "mkspell pt pt_BR" -c "q"
24   LC_ALL=pt_BR.UTF-8 vim -u NONE -c "set encoding=utf-8" \
25                          -c "mkspell pt pt_BR" -c "q"
27   installpath="$pkgdir/usr/share/vim/vimfiles/spell"
28   mkdir -p $installpath
29   cp *spl $installpath
32 # vim:set ts=2 sw=2 et: