1 # Made using Oscar Carlsson's hunspell-sv-se-PKGBUILD as a template
6 pkgdesc="Swedish hyphenation"
8 url="http://hunspell.sourceforge.net/"
9 license=('GPL2' 'GPL3' 'LGPL2.1' 'LPGL3')
11 source=('http://extensions.libreoffice.org/extension-center/swedish-hyphenation/releases/1.10/hyph_sv_se.oxt')
12 md5sums=('db0a3ea8b81e971f06921022fd402ed5')
16 install -dm755 ${pkgdir}/usr/share/hyphen
17 install -D -m644 hyph_sv_SE.dic $pkgdir/usr/share/hyphen/hyph_sv_SE.dic
18 install -D -m644 README_sv_SE.txt $pkgdir/usr/share/licenses/hyphen-sv/README_sv_SE.txt
20 pushd $pkgdir/usr/share/hyphen/
21 ln -s hyph_sv_SE.dic hyph_sv_FI.dic
24 install -dm755 ${pkgdir}/usr/share/myspell/dicts
25 pushd $pkgdir/usr/share/myspell/dicts
26 ln -sv /usr/share/hyphen/hyph_sv_SE.dic .
27 ln -sv /usr/share/hyphen/hyph_sv_FI.dic .