# $Id: PKGBUILD 201292 2013-12-08 08:42:55Z pierre $ # Maintainer: # Contributor: Simo Leone # Contributor: Tobias Kieslich pkgname=aspell-de pkgver=20131206 pkgrel=1 pkgdesc="German dictionary for aspell" arch=('i686' 'x86_64' 'mips64el') url="http://j3e.de/ispell/igerman98/index.html" license=('GPL2') depends=('aspell') source=("http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2") md5sums=('9b6c0c6615d2e099cd85a209d9f1fdbb') 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" }