[arch-commits] Commit in aspell-de/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Fri Jan 7 07:22:50 EST 2011


    Date: Friday, January 7, 2011 @ 07:22:49
  Author: andrea
Revision: 105186

upgpkg: aspell-de 20100727-1
switch to igerman98 aspell dictionaries

Modified:
  aspell-de/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-07 12:21:21 UTC (rev 105185)
+++ PKGBUILD	2011-01-07 12:22:49 UTC (rev 105186)
@@ -4,23 +4,33 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=aspell-de
-pkgver=20030222
-pkgrel=3
+pkgver=20100727
+pkgrel=1
 pkgdesc="German dictionary for aspell"
 arch=('any')
-url="http://aspell.net/"
+url="http://j3e.de/ispell/igerman98/index.html"
 license=('GPL2')
 depends=('aspell')
-source=(ftp://ftp.gnu.org/gnu/aspell/dict/de/aspell6-de-$pkgver-1.tar.bz2)
-md5sums=('5950c5c8a36fc93d4d7616591bace6a6')
+source=(http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2)
+md5sums=('53a66eccaf15fa92d4e5085e7938ee69')
 
 build() {
-  cd $srcdir/aspell6-de-$pkgver-1
-  ./configure
-  make
+  cd ${srcdir}/igerman98-${pkgver}
+
+  LANGS="de_DE de_AT de_CH"
+  for l in ${LANGS}; do
+    make aspell/${l}.rws
+  done
 }
 
 package() {
-  cd $srcdir/aspell6-de-$pkgver-1
-  make DESTDIR=$pkgdir install
+  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
 }



More information about the arch-commits mailing list