updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / hyphen-sv / PKGBUILD
blob3c91d12ffaf854fdb4095da19d548b46b96b85e0
1 # Made using Oscar Carlsson's hunspell-sv-se-PKGBUILD as a template
3 pkgname=hyphen-sv
4 pkgver=20111107
5 pkgrel=1
6 pkgdesc="Swedish hyphenation"
7 arch=('i686' 'x86_64')
8 url="http://hunspell.sourceforge.net/"
9 license=('GPL2' 'GPL3' 'LGPL2.1' 'LPGL3')
10 depends=('hyphen')
11 source=('http://extensions.libreoffice.org/extension-center/swedish-hyphenation/releases/1.10/hyph_sv_se.oxt')
12 md5sums=('db0a3ea8b81e971f06921022fd402ed5')
14 build() {
15   cd $srcdir
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
22   popd
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 .
28   popd