2012-05-07 03:03:13 +08:00
|
|
|
# Platform Packages for Chakra
|
|
|
|
#
|
|
|
|
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
|
2010-06-25 11:44:17 +08:00
|
|
|
|
|
|
|
pkgname=hunspell-kk
|
|
|
|
pkgver=0.1
|
2012-05-07 03:03:13 +08:00
|
|
|
pkgrel=2
|
2010-06-25 11:44:17 +08:00
|
|
|
pkgdesc="A kazakh dictionary for Hunspell"
|
|
|
|
arch=('any')
|
|
|
|
url="http://hunspell.sourceforge.net/"
|
|
|
|
license=('GPL' 'LGPL' 'MPL')
|
|
|
|
depends=('hunspell')
|
|
|
|
source=('http://extensions.services.openoffice.org/e-files/1172/12/dict-kk.oxt')
|
|
|
|
md5sums=('5853936d6ff926015256777f0477bfa3')
|
|
|
|
|
2012-05-07 03:03:13 +08:00
|
|
|
package() {
|
|
|
|
cd "$srcdir"
|
|
|
|
|
|
|
|
install -D -m644 kk_KZ.dic "$pkgdir/usr/share/hunspell/kk_KZ.dic"
|
|
|
|
install -D -m644 kk_KZ.aff "$pkgdir/usr/share/hunspell/kk_KZ.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
|
2010-06-25 11:44:17 +08:00
|
|
|
|
|
|
|
}
|