# Maintainer: Jaroslav Lichtblau pkgname=aspell-pt _pkgverPT=20220621 _pkgverBR=20131030-12 pkgver=$_pkgverPT pkgrel=1 pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell" arch=('x86_64') url="http://aspell.net/" license=('GPL2') depends=('aspell') conflicts=('aspell-pt_br') replaces=('aspell-pt_br') source=(https://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-$_pkgverBR-0.tar.bz2{,.sig} https://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-$_pkgverPT.tar.bz2 https://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-preao-$_pkgverPT.tar.bz2) validpgpkeys=('78DEC3DB0AEA763951322BBF71C636695B147849') #Aspell Dictionary Upload sha256sums=('eb0d99db0b5d5c442133a88bddfe96dd252c0c3df3da36e9326c241dc4bc14f7' 'SKIP' '2494e978890fefc198ece36e0f581451047f43bc53709580350c3b96fb60d303' 'eb2da5b268f89f8e6ad0d8630f9070a0c62daed4002d52cdf50b3e2d3ac3f605') 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 }