1 # Contributor: Jelle van der Waa <jelle vdwaa nl>
6 pkgdesc="Dutch hyphenation rules"
8 url="https://wiki.services.openoffice.org/wiki/Dictionaries#Dutch_.28Netherlands.29"
10 optdepends=('hyphen: offers hyphenation library functions')
11 source=("https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_nl_NL.zip")
12 md5sums=('6f0b18ce830445ae8337df8913155196')
15 install -dm755 "${pkgdir}/usr/share/hyphen"
16 install -m644 hyph_nl_NL.dic "${pkgdir}/usr/share/hyphen/hyph_nl_NL.dic"
18 pushd "${pkgdir}/usr/share/hyphen/"
19 nl_NL_aliases="nl_AW nl_BE"
20 for lang in ${nl_NL_aliases}; do
21 ln -s hyph_nl_NL.dic hyph_${lang}.dic
27 install -dm755 "${pkgdir}/usr/share/myspell/dicts"
28 pushd "${pkgdir}/usr/share/myspell/dicts"
29 for file in "${pkgdir}"/usr/share/hyphen/*; do
30 ln -sv /usr/share/hyphen/$(basename ${file}) .
35 install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
36 install -m644 README_hyph_nl_NL.txt "${pkgdir}/usr/share/doc/${pkgname}/README_hyph_nl_NL.txt"