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

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

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}
sha512sums="0054eef2089a916695b7501676d9cedb1d14defdea76deb01656a6a644b4e646db46470040227814f750e0d69dcc72b1023967eb7924b42ddcefd3d604709059  aspell-tr-0.50-0.tar.bz2"