1 # Contributor: Maciej Sitarz <macieks@freesco.pl>
6 pkgdesc="Polish thesaurus"
8 url="http://synonimy.ux.pl/"
10 optdepends=('libmythes: offers thesaurus library functions')
11 source=(http://downloads.sourceforge.net/synonimy/OOo2-Thesaurus-${pkgver}.zip)
12 md5sums=('c5ff330768241baf2d61f15fbb9be1b9')
20 install -dm755 ${pkgdir}/usr/share/mythes
21 install -m644 th_pl_PL_v2.* $pkgdir/usr/share/mythes
24 install -dm755 ${pkgdir}/usr/share/myspell/dicts
25 pushd $pkgdir/usr/share/myspell/dicts
26 for file in $pkgdir/usr/share/mythes/*; do
27 ln -sv /usr/share/mythes/$(basename $file) .
32 install -dm755 ${pkgdir}/usr/share/doc/$pkgname
33 install -m644 README_th_pl_PL_v2.txt $pkgdir/usr/share/doc/$pkgname