1 # Maintainer: jpatufet <jpatufet86@gmail.com>
6 pkgdesc="Catalan hyphenation rules"
8 url="http://www.softcatala.org/wiki/Rebost:Diccionari_catal%C3%A0_de_partici%C3%B3_de_mots_per_a_l%27OpenOffice.org"
10 optdepends=('hyphen: offers hyphenation library functions')
11 source=('http://www.softcatala.org/diccionaris/actualitzacions/guions/hyph-ca.oxt')
12 md5sums=('586d5063f7b502498f6d0c3c4233cce3')
18 install -dm755 "${pkgdir}"/usr/share/hyphen
19 cp -p hyph_ca_ANY.dic "${pkgdir}"/usr/share/hyphen/hyph_ca_ES.dic
22 pushd "${pkgdir}"/usr/share/hyphen/
23 ca_ES_alias="ca_AD ca_FR ca_IT"
24 for lang in ${ca_ES_alias}; do
25 ln -s hyph_ca_ES.dic hyph_${lang}.dic
30 install -dm755 "${pkgdir}"/usr/share/myspell/dicts
31 pushd "${pkgdir}"/usr/share/myspell/dicts
32 for file in "${pkgdir}"/usr/share/hyphen/*; do
33 ln -sv /usr/share/hyphen/"$(basename "${file}")" .
38 #install -dm755 "${pkgdir}"/usr/share/doc/"${pkgname}"