# Platform packages for Chakra # # Maintainer: Manuel Tortosa 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 }