# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell-uk
pkgver=1.4.0
pkgrel=3
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-$pkgver-0
pkgdesc="Ukrainian dictionary for aspell"
url="http://aspell.net/"
arch="noarch"
license="LGPL-2.0-or-later"
options="!check" # No test suite
makedepends="aspell-dev"
source="https://ftp.gnu.org/gnu/aspell/dict/$_lang/$_name.tar.bz2"
builddir="$srcdir"/$_name

build() {
	./configure
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 Copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="2e66465d17695dd3147241f13d611571f8a80a15886c69728d2f34019fb4834e56e4c0834d9e898927522b54d75f78a32dd3435b2c16eb86cf9cfa11070f0799  aspell6-uk-1.4.0-0.tar.bz2"
