# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=aspell-dict-ku
pkgver=0.20.1
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Kurdi 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/ku/aspell5-ku-$_pkgver.tar.bz2"
builddir="$srcdir/aspell5-ku-$_pkgver"

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

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}
sha512sums="b1aadc13e4cc494bb7b8bdb1ef96215abb72dfe2ec398d4c383984a2540323117d18a940c675ed0266cbbdf14958525975083a9fe35e93b7885c8f0216362d84  aspell5-ku-0.20-1.tar.bz2"