upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / aspell-pt / repos / community-x86_64 / PKGBUILD
blobd361410fd98129fc9a2219b542b4fa6e5d9c0cea
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
3 pkgname=aspell-pt
4 _pkgverPT=20220621
5 _pkgverBR=20131030-12
6 pkgver=$_pkgverPT
7 pkgrel=1
8 pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell"
9 arch=('x86_64')
10 url="http://aspell.net/"
11 license=('GPL2')
12 depends=('aspell')
13 conflicts=('aspell-pt_br')
14 replaces=('aspell-pt_br')
15 source=(https://ftp.gnu.org/gnu/aspell/dict/pt_BR/aspell6-pt_BR-$_pkgverBR-0.tar.bz2{,.sig}
16         https://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-$_pkgverPT.tar.bz2
17         https://natura.di.uminho.pt/download/sources/Dictionaries/aspell6/aspell6.pt-preao-$_pkgverPT.tar.bz2)
18 validpgpkeys=('78DEC3DB0AEA763951322BBF71C636695B147849') #Aspell Dictionary Upload <dict-upload@aspell.net>
19 sha256sums=('eb0d99db0b5d5c442133a88bddfe96dd252c0c3df3da36e9326c241dc4bc14f7'
20             'SKIP'
21             '2494e978890fefc198ece36e0f581451047f43bc53709580350c3b96fb60d303'
22             'eb2da5b268f89f8e6ad0d8630f9070a0c62daed4002d52cdf50b3e2d3ac3f605')
24 build() {
25   cd aspell6-pt_BR-$_pkgverBR-0
26   ./configure
27   make
29   cd ../aspell6-pt_PT-$_pkgverPT-0
30   ./configure
31   make
33   cd ../aspell6-pt_PT-preao-$_pkgverPT-0
34   ./configure
35   make
38 package() {
39   cd aspell6-pt_BR-$_pkgverBR-0
40   make DESTDIR="$pkgdir" install
42   cd ../aspell6-pt_PT-$_pkgverPT-0
43   make DESTDIR="$pkgdir" install
45   cd ../aspell6-pt_PT-preao-$_pkgverPT-0
46   make DESTDIR="$pkgdir" install
48   echo "add pt_BR.multi" > "$pkgdir"/usr/lib/aspell-0.60/brasileiro.alias