# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=aspell-dict-sv
pkgver=0.51.0
_pkgver=${pkgver%.*}-${pkgver#*.*.}
pkgrel=0
pkgdesc="Swedish dictionaries for aspell"
url="http://aspell.net"
arch="noarch"
options="!check" # no tests
license="GPL-2.0-only"
depends="aspell"
makedepends="debianutils-which"
source="ftp://ftp.gnu.org/gnu/aspell/dict/sv/aspell-sv-$_pkgver.tar.bz2"
builddir="$srcdir/aspell-sv-$_pkgver"

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

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install
}
sha512sums="f995f3ae1a1380a5dbb171786c2cf3d46670c4bc012792a1d241ff0f3de61046766583e3704c57618eb0690aa0e915b64130114420358a3f46b5b59a37d45e5c  aspell-sv-0.51-0.tar.bz2"