1 # Made using Oscar Carlsson's hunspell-sv-se-PKGBUILD as a template
6 pkgdesc="Swedish thesaurus"
8 url="http://lexin2.nada.kth.se/synlex.html"
11 source=('http://extensions.libreoffice.org/extension-center/swedish-thesaurus-based-on-synlex/releases/1.3/swedishthesaurus.oxt')
12 md5sums=('e1cc53b9a74f31307e342e88c341202b')
15 cd $srcdir/dictionaries
16 install -dm755 ${pkgdir}/usr/share/mythes
17 install -D -m644 th_sv_SE.dat $pkgdir/usr/share/mythes/th_sv_SE_v2.dat
18 install -D -m644 th_sv_SE.idx $pkgdir/usr/share/mythes/th_sv_SE_v2.idx
19 install -D -m644 ../Info-en.txt $pkgdir/usr/share/licenses/mythes-sv/Info-en.txt
21 pushd ${pkgdir}/usr/share/mythes
22 ln -s th_sv_SE_v2.dat th_sv_FI_v2.dat
23 ln -s th_sv_SE_v2.idx th_sv_FI_v2.idx
26 install -dm755 ${pkgdir}/usr/share/myspell/dicts
27 pushd $pkgdir/usr/share/myspell/dicts
28 ln -sv /usr/share/mythes/th_sv_SE_v2.dat .
29 ln -sv /usr/share/mythes/th_sv_SE_v2.idx .
30 ln -sv /usr/share/mythes/th_sv_FI_v2.dat .
31 ln -sv /usr/share/mythes/th_sv_FI_v2.idx .