1 # Contributor: Maciej Sitarz <macieks@freesco.pl>
6 pkgdesc="Polish hyphenation rules"
8 url="http://wiki.services.openoffice.org/wiki/Dictionaries"
10 optdepends=('hyphen: offers hyphenation library functions')
11 source=(http://pl.openoffice.org/pliki/hyph_pl_PL.zip)
12 md5sums=('e015c046f60437d39223b1253b78a4e2')
16 bsdtar -xf hyph_pl_PL.zip
22 install -dm755 ${pkgdir}/usr/share/hyphen
23 install -m644 hyph_pl_PL.dic ${pkgdir}/usr/share/hyphen
26 install -dm755 ${pkgdir}/usr/share/myspell/dicts
27 pushd $pkgdir/usr/share/myspell/dicts
28 for file in $pkgdir/usr/share/hyphen/*; do
29 ln -sv /usr/share/hyphen/$(basename $file) .
34 install -dm755 ${pkgdir}/usr/share/doc/$pkgname
35 install -m644 README_hyph_pl_PL.txt $pkgdir/usr/share/doc/$pkgname