1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
4 # https://cgit.freedesktop.org/libreoffice/dictionaries/log/de
5 _commit=9e27d044d98e65f89af8c86df722a77be827bdc8 # last commit "de" subdir - 2022-09-23
8 pkgdesc="German hyphenation rules"
10 url="https://wiki.documentfoundation.org/Development/Dictionaries"
13 optdepends=('hyphen: offers hyphenation library functions')
14 source=("git+https://anongit.freedesktop.org/git/libreoffice/dictionaries.git#commit=$_commit")
23 install -dm755 "${pkgdir}"/usr/share/hyphen
24 cp -p hyph_de_??.* "$pkgdir"/usr/share/hyphen
26 pushd "$pkgdir"/usr/share/hyphen/
27 de_DE_aliases="de_BE de_LU"
28 for lang in $de_DE_aliases; do
29 ln -s hyph_de_DE.dic hyph_$lang.dic
32 for lang in $de_CH_aliases; do
33 ln -s hyph_de_CH.dic hyph_$lang.dic
39 install -dm755 "${pkgdir}"/usr/share/myspell/dicts
40 pushd "$pkgdir"/usr/share/myspell/dicts
41 for file in "$pkgdir"/usr/share/hyphen/*; do
42 ln -sv /usr/share/hyphen/$(basename $file) .
47 install -dm755 "${pkgdir}"/usr/share/doc/$pkgname
48 cp -p README_hyph_de.txt "$pkgdir"/usr/share/doc/$pkgname