core/hunspell-el/PKGBUILD
2012-11-12 00:11:29 +00:00

36 lines
973 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor: birdflesh <antkoul at gmail dot com>
pkgname=hunspell-el
pkgver=0.8
pkgrel=1
pkgdesc="Greek hunspell dictionary"
arch=(x86_64)
url="http://elspell.math.upatras.gr/"
license=('MPL' 'GPL' 'LGPL')
optdepends=('hunspell: the spell checking libraries and apps')
source=(${url}files/ooffice/el_GR-${pkgver}.zip)
md5sums=('83c61e548d8c1feea648dbb11731ea74')
package() {
install -dm755 ${pkgdir}/usr/share/hunspell
install -m644 el_GR.aff ${pkgdir}/usr/share/hunspell
install -m644 el_GR.dic ${pkgdir}/usr/share/hunspell
# the symlinks
install -dm755 ${pkgdir}/usr/share/myspell/dicts
pushd $pkgdir/usr/share/myspell/dicts
for file in $pkgdir/usr/share/hunspell/*; do
ln -sv /usr/share/hunspell/$(basename $file) .
done
popd
# docs
install -dm755 ${pkgdir}/usr/share/doc/$pkgname
install -m644 README_el_GR.txt $pkgdir/usr/share/doc/$pkgname
}