# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=aspell-dict-vi
pkgver=0.01.1.1
_pkgver=${pkgver%.*}-${pkgver#*.*.*.}
pkgrel=0
pkgdesc="Vietnamese 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/vi/aspell6-vi-$_pkgver.tar.bz2"
builddir="$srcdir/aspell6-vi-$_pkgver"

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

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

sha512sums="d6b0a85ea3edf3193327f6df1b9c24947663fe711f060f10122e2c60aea2717d70277fd516fa685d9886c725baeebfc72d3f33e240ee8d182be669da716bb5c5  aspell6-vi-0.01.1-1.tar.bz2"