1 # Maintainer: jpatufet <jpatufet86@gmail.com>
6 pkgdesc="Catalan hunspell dictionaries"
8 url="http://www.softcatala.org/corrector"
10 makedepends=('hunspell')
11 optdepends=('hunspell: the spell checking libraries and apps')
12 source=('http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt')
13 md5sums=('5f84d53ebcaed6c419b8bf800bdfa3c7')
19 install -dm755 "${pkgdir}"/usr/share/hunspell
20 cp -p dictionaries/catalan.aff "${pkgdir}"/usr/share/hunspell/ca_ES.aff
21 cp -p dictionaries/catalan.dic "${pkgdir}"/usr/share/hunspell/ca_ES.dic
24 ca_ES_alias="ca_AD ca_FR ca_IT"
25 pushd "${pkgdir}"/usr/share/hunspell/
26 for lang in ${ca_ES_alias}; do
27 ln -s ca_ES.aff "${lang}".aff
28 ln -s ca_ES.dic "${lang}".dic
33 install -dm755 "${pkgdir}"/usr/share/myspell/dicts
34 pushd "${pkgdir}"/usr/share/myspell/dicts
35 for file in "${pkgdir}"/usr/share/hunspell/*; do
36 ln -sv /usr/share/hunspell/"$(basename "${file}")" .
41 #install -dm755 "${pkgdir}"/usr/share/doc/"${pkgname}"