blob: 7346d3070038586f5769fef971e2193500c729cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 137818 2011-09-11 20:26:33Z pierre $
# Maintainer:
# Contributor: Simo Leone <simo@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>
pkgname=aspell-de
pkgver=20110609
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=('6e7ea765b6188c08d470111e221cc91a')
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"
}
|