summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJussi Saarinen2015-07-05 23:17:09 +0300
committerJussi Saarinen2015-07-05 23:17:09 +0300
commite7e71526a055337aded71cb82e2da71d993cb5c6 (patch)
tree927f6bfa50ce748531b04bc3d92134a9e541cc8d
downloadaur-e7e71526a055337aded71cb82e2da71d993cb5c6.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD32
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5dbe997a85e
--- /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 00000000000..d8bc20e369a
--- /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