# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=aspell-dict-fi
pkgver=0.7.0
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Finnish dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends="aspell"
makedepends="debianutils-which"
source="https://ftp.gnu.org/gnu/aspell/dict/fi/aspell6-fi-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-fi-$_pkgver"

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

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

sha512sums="d1f27bc8e36033cba6ddaa978f2facfe8d134ab70124ec80d5397dba2b533b512755312feaf2afa838f68e4449479953a8b951264fbbfc28cdfd9457f67f67f7  aspell6-fi-0.7-0.tar.bz2"