summaryrefslogtreecommitdiff
path: root/user/aspell-dict-de/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/aspell-dict-de/APKBUILD')
-rw-r--r--user/aspell-dict-de/APKBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/user/aspell-dict-de/APKBUILD b/user/aspell-dict-de/APKBUILD
index 90b8097a5..080984aa3 100644
--- a/user/aspell-dict-de/APKBUILD
+++ b/user/aspell-dict-de/APKBUILD
@@ -1,26 +1,31 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=aspell-dict-de
-pkgver=20030222.1
-_pkgver=${pkgver%.*}-${pkgver#*.}
+pkgver=20161207
pkgrel=0
pkgdesc="German dictionaries for aspell"
-url="http://aspell.net"
+url="http://j3e.de/ispell/igerman98/index.html"
arch="noarch"
options="!check" # no tests
license="GPL-2.0-only"
depends="aspell"
makedepends="debianutils-which"
-source="ftp://ftp.gnu.org/gnu/aspell/dict/de/aspell6-de-$_pkgver.tar.bz2"
-builddir="$srcdir/aspell6-de-$_pkgver"
+source="https://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2"
+builddir="$srcdir/igerman98-$pkgver"
+_langs="de_DE de_AT de_CH"
build() {
cd "$builddir"
- ./configure --vars DESTDIR="$pkgdir"
+ for i in $_langs; do
+ make aspell/${i}.rws
+ done
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"/aspell
+ mkdir -p "$pkgdir"/usr/share/aspell
+ for i in $_langs; do
+ install -m644 ${i}.alias ${i}.dat ${i}_affix.dat ${i}.multi ${i}.rws "$pkgdir"/usr/share/aspell
+ done
}
-sha512sums="2005b56938565b11b761ace31006c1accfd32d401685cc5676cc4d85406bedda81b1df062949359f1bd6972073d3713204d87c7f81d9535fa956cdf130dd8db6 aspell6-de-20030222-1.tar.bz2"
+sha512sums="62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa igerman98-20161207.tar.bz2"