mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:47:19 +08:00
31 lines
841 B
Bash
31 lines
841 B
Bash
# Platform Packages for Chakra
|
|
#
|
|
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
|
|
pkgname=hunspell-kk
|
|
pkgver=0.1
|
|
pkgrel=2
|
|
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')
|
|
|
|
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
|
|
|
|
}
|