# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=aspell-dict-pt_PT
pkgver=20190329.1.0
_pkgver=${pkgver%.*.*}-${pkgver#*.}
_pkgver=${_pkgver%.*}-${_pkgver#*.}
pkgrel=0
pkgdesc="Portuguese dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="cmd:which"
source="https://ftp.gnu.org/gnu/aspell/dict/pt_PT/aspell6-pt_PT-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-pt_PT-$_pkgver"

build() {
	./configure --vars DESTDIR="$pkgdir"
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7c7edb79cd46bf4566814dbdef09f9b6d202f183abe5c25fda454e69c57d617948806657ed1da83039b508c1ccdb8a020d694b7119edfce63bae7defeafa1123  aspell6-pt_PT-20190329-1-0.tar.bz2"