From fc249b6781fbec9ee83d51e5c42108312d0a1a8e Mon Sep 17 00:00:00 2001
From: Síle Ekaterin Liszka <sheila@vulpine.house>
Date: Sun, 4 Dec 2022 22:54:15 +0000
Subject: user/aspell-dict-de: upgrade to 20161207.7.0, return to GNU upstream

---
 user/aspell-dict-de/APKBUILD | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

(limited to 'user')

diff --git a/user/aspell-dict-de/APKBUILD b/user/aspell-dict-de/APKBUILD
index fda4e731a..eeb9259c1 100644
--- a/user/aspell-dict-de/APKBUILD
+++ b/user/aspell-dict-de/APKBUILD
@@ -1,31 +1,27 @@
 # Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
 # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
 pkgname=aspell-dict-de
-pkgver=20161207
+pkgver=20161207.7.0
+_pkgver=${pkgver%.*}-${pkgver#*.*.}
+_pkgver=${_pkgver%.*-*}-${_pkgver#*.}
 pkgrel=0
 pkgdesc="German dictionaries for aspell"
-url="http://j3e.de/ispell/igerman98/index.html"
+url="http://ftp.gnu.org/gnu/aspell/dict/0index.html"
 arch="noarch"
 options="!check"  # No test suite.
 license="GPL-2.0-only"
 depends="aspell"
 makedepends="cmd:which"
-source="https://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2"
-builddir="$srcdir/igerman98-$pkgver"
-_langs="de_DE de_AT de_CH"
+source="http://ftp.gnu.org/pub/gnu/aspell/dict/de/aspell6-de-${_pkgver}.tar.bz2"
+builddir="$srcdir/aspell6-de-$_pkgver"
 
 build() {
-	for i in $_langs; do
-		make aspell/${i}.rws
-	done
+	./configure --vars DESTDIR="$pkgdir"
+	make
 }
 
 package() {
-	mkdir -p "$pkgdir"/usr/share/aspell
-	cd aspell
-	for i in $_langs; do
-		install -m644 ${i}.alias ${i}.dat ${i}_affix.dat ${i}.multi ${i}.rws "$pkgdir"/usr/share/aspell
-	done
+	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="62be84ac76fd2a0acc25439aa4c04339e54a1c7a2f619d76e0e01cfb53eeeca263c5cc335e315f9adeee9bab5cc392d4c473ca55cbed371c04c123d6fa2272aa  igerman98-20161207.tar.bz2"
+sha512sums="ec29fa49d4e0303d6ceb78da3884ac54ddf34205895f30a95bce0db66f74472b423980200acf01efb1fa40380d6ea6351a58656400af35772266f8a54b1bbec8  aspell6-de-20161207-7-0.tar.bz2"
-- 
cgit v1.2.3-70-g09d2