# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=aspell-dict-nb
pkgver=0.50.1.0
_pkgver=${pkgver%.*}-${pkgver#*.*.*.}
pkgrel=0
pkgdesc="Norwegian (Bokmal) dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check" # no tests
license="GPL-2.0-only"
depends="aspell"
makedepends="debianutils-which"
source="ftp://ftp.gnu.org/gnu/aspell/dict/nb/aspell-nb-$_pkgver.tar.bz2"
builddir="$srcdir/aspell-nb-$_pkgver"

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

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}
sha512sums="e30dcf7e757ab1ceb5de349927f9cfa4d9de4015bd9cc9449739fd2f17f6f033f698e71da0270b4e1ebd76be2195c42422630266ad9cadd2173184706d651c13  aspell-nb-0.50.1-0.tar.bz2"