1 # Made using Oscar Carlsson's hunspell-sv-se-PKGBUILD as a template
6 pkgdesc="Swedish dictionaries for Hunspell"
8 url="http://hunspell.sourceforge.net/"
9 license=('MPL' 'GPL2' 'GPL3' 'LGPL2.1' 'LGPL3')
11 source=('http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/1.50/ooo_swedish_dict_1.50.oxt'
12 'http://extensions.services.openoffice.org/e-files/3592/1/ooo_swedish_finland_dict_1.42.oxt')
13 md5sums=('f65ad399c8e2a36ad42c20fbe7d5bb88'
14 'da25b40ebe1d0627d897479801c1eba9')
17 cd $srcdir/dictionaries
18 install -D -m644 sv_SE.dic $pkgdir/usr/share/hunspell/sv_SE.dic
19 install -D -m644 sv_SE.aff $pkgdir/usr/share/hunspell/sv_SE.aff
20 install -D -m644 sv_FI.dic $pkgdir/usr/share/hunspell/sv_FI.dic
21 install -D -m644 sv_FI.aff $pkgdir/usr/share/hunspell/sv_FI.aff
22 install -D -m644 ../LICENSE_sv_SE.txt $pkgdir/usr/share/licenses/hunspell-sv/license-sv-se.txt
23 install -D -m644 ../LICENSE_sv_FI.txt $pkgdir/usr/share/licenses/hunspell-sv/license-sv-fi.txt
25 install -dm755 ${pkgdir}/usr/share/myspell/dicts
26 pushd $pkgdir/usr/share/myspell/dicts
27 ln -sv /usr/share/hunspell/sv_SE.dic .
28 ln -sv /usr/share/hunspell/sv_SE.aff .
29 ln -sv /usr/share/hunspell/sv_FI.dic .
30 ln -sv /usr/share/hunspell/sv_FI.aff .