# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=aspell-dict-lv
pkgver=0.9.3
pkgrel=0
pkgdesc="Latvian dictionaries for aspell"
url="https://dict.dv.lv/"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="cmd:which"
source="https://distfiles.adelielinux.org/source/archive/$pkgname-$pkgver/aspell6-lv-$pkgver.tar.bz2"
builddir="$srcdir/aspell6-lv-$pkgver"

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

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7148c704297dd0383059968898a4330c66929fd6ec4bbfcbb9120794bcd58d5d78e6c2b9d11b57f477563189356d54aec2c2c3b4871598efec3831b8e4ba5e66  aspell6-lv-0.9.3.tar.bz2"