updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / hunspell-el / PKGBUILD
blobe839742ef7eb489335ef8b3b8020d1e658624888
1 # Maintainer: birdflesh <antkoul at gmail dot com>
3 pkgname=hunspell-el
4 pkgver=0.8
5 pkgrel=1
6 pkgdesc="Greek hunspell dictionary"
7 arch=(any)
8 url="http://elspell.math.upatras.gr/"
9 license=('MPL' 'GPL' 'LGPL')
10 optdepends=('hunspell:  the spell checking libraries and apps')
11 source=(${url}files/ooffice/el_GR-${pkgver}.zip)
12 md5sums=('83c61e548d8c1feea648dbb11731ea74')
14 package() {
15         install -dm755 ${pkgdir}/usr/share/hunspell
16         install -m644 el_GR.aff ${pkgdir}/usr/share/hunspell
17         install -m644 el_GR.dic ${pkgdir}/usr/share/hunspell
19         # the symlinks
20         install -dm755 ${pkgdir}/usr/share/myspell/dicts
21         pushd $pkgdir/usr/share/myspell/dicts
22         for file in $pkgdir/usr/share/hunspell/*; do
23                 ln -sv /usr/share/hunspell/$(basename $file) .
24         done
25         popd
27         # docs
28         install -dm755 ${pkgdir}/usr/share/doc/$pkgname
29         install -m644 README_el_GR.txt $pkgdir/usr/share/doc/$pkgname