# $Id: PKGBUILD 211658 2014-04-22 15:35:58Z fyan $ # Maintainer: pkgname=aspell-pt _pkgverPT=20140412 _pkgverBR=20090702 pkgver=$_pkgverPT pkgrel=1 pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell" arch=('i686' 'x86_64') url="http://aspell.net/" license=('GPL2') depends=('aspell') conflicts=('aspell-pt_br') replaces=('aspell-pt_br') source=(ftp://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-$_pkgverBR-0.tar.bz2 http://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-$_pkgverPT.tar.bz2 http://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-preao-$_pkgverPT.tar.bz2) sha1sums=('add1db9a6a908dccaad13a7fd85c3b202299ff26' '26d991841bb13d3dfa6fe2bb9a29edd6982d6657' '492ace13679f5fa3824bb528e9017fbab4ef0d4c') build() { cd aspell6-pt_BR-$_pkgverBR-0 ./configure make cd ../aspell6-pt_PT-$_pkgverPT-0 ./configure make cd ../aspell6-pt_PT-preao-$_pkgverPT-0 ./configure make } package() { cd aspell6-pt_BR-$_pkgverBR-0 make DESTDIR="$pkgdir" install cd ../aspell6-pt_PT-$_pkgverPT-0 make DESTDIR="$pkgdir" install cd ../aspell6-pt_PT-preao-$_pkgverPT-0 make DESTDIR="$pkgdir" install echo "add pt_BR.multi" > "$pkgdir"/usr/lib/aspell-0.60/brasileiro.alias }