diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5dbe997a85ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = hunspell-sv + pkgdesc = Swedish dictionaries for Hunspell + pkgver = 20150312 + pkgrel = 1 + url = http://www.dsso.se/ + arch = i686 + arch = x86_64 + license = LGPL3 + depends = hunspell + source = http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/2.36/ooo_swedish_dict_2-36.oxt + sha256sums = 0927dc21c9ab904faff2cedf96429c88b69544131a94457bcb67f7bd1d42054e + +pkgname = hunspell-sv + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d8bc20e369ad --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: jtts +# From hunspell-sv-se: +# Contributor: Oscar Carlsson <oscar.carlsson (at) gmail.com> + +pkgname=hunspell-sv +pkgver=20150312 +_pkgver=2.36 +__pkgver=2-36 +pkgrel=1 +pkgdesc="Swedish dictionaries for Hunspell" +arch=('i686' 'x86_64') +url="http://www.dsso.se/" +license=('LGPL3') +depends=('hunspell') +source=("http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/$_pkgver/ooo_swedish_dict_$__pkgver.oxt") +sha256sums=('0927dc21c9ab904faff2cedf96429c88b69544131a94457bcb67f7bd1d42054e') + +package() { + cd $srcdir/dictionaries + install -D -m644 sv_SE.dic $pkgdir/usr/share/hunspell/sv_SE.dic + install -D -m644 sv_SE.aff $pkgdir/usr/share/hunspell/sv_SE.aff + install -D -m644 sv_FI.dic $pkgdir/usr/share/hunspell/sv_FI.dic + install -D -m644 sv_FI.aff $pkgdir/usr/share/hunspell/sv_FI.aff + + install -dm755 ${pkgdir}/usr/share/myspell/dicts + pushd $pkgdir/usr/share/myspell/dicts + ln -sv /usr/share/hunspell/sv_SE.dic . + ln -sv /usr/share/hunspell/sv_SE.aff . + ln -sv /usr/share/hunspell/sv_FI.dic . + ln -sv /usr/share/hunspell/sv_FI.aff . + popd +}
\ No newline at end of file |