summaryrefslogtreecommitdiff
path: root/user/aspell-dict-nb/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/aspell-dict-nb/APKBUILD')
-rw-r--r--user/aspell-dict-nb/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/aspell-dict-nb/APKBUILD b/user/aspell-dict-nb/APKBUILD
new file mode 100644
index 000000000..7dd694e35
--- /dev/null
+++ b/user/aspell-dict-nb/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=aspell-dict-nb
+pkgver=0.50.1.0
+_pkgver=${pkgver%.*}-${pkgver#*.*.*.}
+pkgrel=0
+pkgdesc="Norwegian (Bokmal) 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/nb/aspell-nb-$_pkgver.tar.bz2"
+builddir="$srcdir/aspell-nb-$_pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure --vars DESTDIR="$pkgdir"
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+sha512sums="e30dcf7e757ab1ceb5de349927f9cfa4d9de4015bd9cc9449739fd2f17f6f033f698e71da0270b4e1ebd76be2195c42422630266ad9cadd2173184706d651c13 aspell-nb-0.50.1-0.tar.bz2"