core/hunspell-tr/PKGBUILD
2012-05-06 18:37:33 +00:00

30 lines
778 B
Bash

# Platform packages for Chakra
#
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
pkgname=hunspell-tr
pkgver=0.1
pkgrel=2
pkgdesc="Turkish dictionary for Hunspell"
arch=('any')
url="http://tr-spell.googlecode.com/"
license=('LGPL' 'BSD')
depends=('hunspell')
source=(http://tr-spell.googlecode.com/files/Hunspell_tr_TR_v.0.1.zip)
md5sums=('774eae07421f2823898a2a423245b472')
build() {
cd $srcdir
install -D -m644 tr.dic $pkgdir/usr/share/hunspell/tr.dic
install -D -m644 tr.aff $pkgdir/usr/share/hunspell/tr.aff
#myspell 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
}