summaryrefslogtreecommitdiff
path: root/extra/aspell-de/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/aspell-de/PKGBUILD')
-rw-r--r--extra/aspell-de/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/aspell-de/PKGBUILD b/extra/aspell-de/PKGBUILD
new file mode 100644
index 000000000..4e2c6febf
--- /dev/null
+++ b/extra/aspell-de/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 116607 2011-03-24 12:52:36Z andrea $
+# Maintainer:
+# Contributor: Simo Leone <simo@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@justdreams.de>
+
+pkgname=aspell-de
+pkgver=20100727
+pkgrel=3
+pkgdesc="German dictionary for aspell"
+arch=('i686' 'x86_64')
+url="http://j3e.de/ispell/igerman98/index.html"
+license=('GPL2')
+depends=('aspell')
+source=(http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2)
+md5sums=('53a66eccaf15fa92d4e5085e7938ee69')
+sha1sums=('7cfde06b3086b03b9d400998a7254598a5b72564')
+
+build() {
+ cd "${srcdir}/igerman98-${pkgver}"
+
+ LANGS="de_DE de_AT de_CH"
+ for l in ${LANGS}; do
+ make aspell/${l}.rws
+ done
+}
+
+package() {
+ cd "${srcdir}/igerman98-${pkgver}/aspell"
+
+ install -d "${pkgdir}/usr/lib/aspell-0.60"
+
+ LANGS="de_DE de_AT de_CH"
+ for l in ${LANGS}; do
+ install -m644 ${l}.alias ${l}.dat ${l}_affix.dat ${l}.multi ${l}.rws \
+ "${pkgdir}/usr/lib/aspell-0.60/"
+ done
+
+ echo "add de_DE.multi" > "${pkgdir}/usr/lib/aspell-0.60/deutsch.alias"
+ echo "add de_DE.multi" > "${pkgdir}/usr/lib/aspell-0.60/german.alias"
+ echo "add de_CH.multi" > "${pkgdir}/usr/lib/aspell-0.60/swiss.alias"
+}