core/aspell-de/PKGBUILD

41 lines
1.0 KiB
Bash
Raw Normal View History

#
# Platform Packages for Chakra, part of chakra-project.org
#
2012-07-30 19:49:14 +08:00
# maintainer: Samir Benmendil <ram-z[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
pkgname=aspell-de
2012-11-23 22:15:22 +08:00
pkgver=20120607
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="German dictionary for aspell"
2012-11-23 22:15:22 +08:00
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://aspell.net/"
license=('GPL2')
depends=('aspell')
2012-11-23 22:15:22 +08:00
source=("http://j3e.de/ispell/igerman98/dict/igerman98-${pkgver}.tar.bz2")
md5sums=('9433d0ccd7db3c7681037980ece3f710')
2010-03-14 23:48:48 +08:00
build() {
2012-11-23 22:15:22 +08:00
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"
2010-03-14 23:48:48 +08:00
}