1 # Contributor: J.W. Lee <arcicube at gmail dot com>
6 pkgdesc="Korean hunspell dictionary"
8 url="http://code.google.com/p/spellcheck-ko/"
9 license=('GPL' 'LGPL' 'MPL')
10 optdepends=('hunspell: the spell checking libraries and apps')
11 source=(http://spellcheck-ko.googlecode.com/files/ko-aff-dic-$pkgver.zip)
12 md5sums=('30bb07e298f22ae01f3abf337708097d')
15 cd "${srcdir}/ko-aff-dic-${pkgver}"
17 install -dm755 ${pkgdir}/usr/share/hunspell
18 install -m644 ko.dic ko.aff ${pkgdir}/usr/share/hunspell
20 pushd ${pkgdir}/usr/share/hunspell
21 ln -s ko.aff ko_KR.aff
22 ln -s ko.dic ko_KR.dic
26 install -dm755 ${pkgdir}/usr/share/myspell/dicts
27 pushd ${pkgdir}/usr/share/myspell/dicts
28 for file in ${pkgdir}/usr/share/hunspell/*; do
29 ln -sv /usr/share/hunspell/$(basename ${file}) .