# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=aspell-ru
pkgver=0.99_p7
pkgrel=2
_lang=${pkgname##*-}
_name=${pkgname%%-*}6-$_lang-${pkgver//_p/f}-1
pkgdesc="Russian dictionary for aspell"
url="http://aspell.net/"
arch="noarch"
license="custom"
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="789fe15f5502b54008a41f2afb5635dcb7bb0a36e61b300ee48b2429c339793f5c4808d6063f13f1f8455ce251912433890e7d01ca59d8b0924ecd2987ceb430  aspell6-ru-0.99f7-1.tar.bz2"
