mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
30 lines
778 B
Bash
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
|
|
|
|
}
|