summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD22
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c4168811e3d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Tue May 17 01:38:53 UTC 2016
+pkgbase = hunspell-sl
+ pkgdesc = Slovene hunspell dictionary
+ pkgver = 2015.07.13
+ pkgrel = 1
+ url = https://github.com/LibreOffice/dictionaries
+ arch = any
+ license = LGPL2.1
+ optdepends = hunspell: the spell checking libraries and apps
+ source = http://extensions.libreoffice.org/extension-center/slovenian-dictionary-pack/releases/2015.07.13/pack-sl.oxt
+ md5sums = 356c838cc153f09224d6f3f43dc7873a
+
+pkgname = hunspell-sl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2c558787d7c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Davorin Učakar <davorin.ucakar@gmail.com>
+
+pkgname=hunspell-sl
+pkgver=2015.07.13
+pkgrel=1
+pkgdesc="Slovene hunspell dictionary"
+arch=(any)
+url="https://github.com/LibreOffice/dictionaries"
+license=('LGPL2.1')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("http://extensions.libreoffice.org/extension-center/slovenian-dictionary-pack/releases/$pkgver/pack-sl.oxt")
+md5sums=('356c838cc153f09224d6f3f43dc7873a')
+PKGEXT='.pkg.tar'
+
+package() {
+ install -Dm644 sl_SI.aff "$pkgdir"/usr/share/hunspell/sl_SI.aff
+ install -Dm644 sl_SI.dic "$pkgdir"/usr/share/hunspell/sl_SI.dic
+
+ install -dm755 "$pkgdir"/usr/share/myspell/dicts
+ ln -sf /usr/share/hunspell/sl_SI.dic "$pkgdir"/usr/share/myspell/dicts
+ ln -sf /usr/share/hunspell/sl_SI.aff "$pkgdir"/usr/share/myspell/dicts
+}