summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrejs Mivreņiks2015-08-31 20:53:51 +0300
committerAndrejs Mivreņiks2015-08-31 20:53:51 +0300
commit2828b2505be52b3ab8debe1f6e6788747d3a5d03 (patch)
treea8c01f3576908d42a6ebb4d8a0e1307f4366ec5d
downloadaur-2828b2505be52b3ab8debe1f6e6788747d3a5d03.tar.gz
Initial commit: 20131101
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c518bc09fa0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v7
+# Mon Aug 31 17:53:17 UTC 2015
+pkgbase = hunspell-ru
+ pkgdesc = Russian hunspell dictionary
+ pkgver = 20131101
+ pkgrel = 1
+ url = https://code.google.com/p/hunspell-ru/
+ arch = any
+ license = LGPL3
+ depends = hunspell
+ source = hunspell-ru-20131101.tar.gz::https://bitbucket.org/Shaman_Alex/russian-dictionary-hunspell/downloads/ru_RU_UTF-8_20131101.zip
+ sha256sums = c9c30ca305705691fea4810137763f3b790676aa534a5cd6dfc9b45659aa9408
+
+pkgname = hunspell-ru
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b3699aeea83
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Andrejs Mivreņiks <gim at fastmail dot fm>
+# Contributor: Stas Solovey <whats_up@tut.by>
+pkgname=hunspell-ru
+pkgver=20131101
+pkgrel=1
+pkgdesc="Russian hunspell dictionary"
+arch=('any')
+url='https://code.google.com/p/hunspell-ru/'
+license=('LGPL3')
+depends=('hunspell')
+source=("$pkgname-$pkgver.tar.gz::https://bitbucket.org/Shaman_Alex/russian-dictionary-hunspell/downloads/ru_RU_UTF-8_${pkgver}.zip")
+sha256sums=('c9c30ca305705691fea4810137763f3b790676aa534a5cd6dfc9b45659aa9408')
+
+package() {
+ install -Dm644 ru_RU.dic "$pkgdir/usr/share/hunspell/ru_RU.dic"
+ install -Dm644 ru_RU.aff "$pkgdir/usr/share/hunspell/ru_RU.aff"
+
+ install -dm755 "$pkgdir/usr/share/myspell/dicts"
+ ln -s /usr/share/hunspell/ru_RU.dic "$pkgdir/usr/share/myspell/dicts/ru_RU.dic"
+ ln -s /usr/share/hunspell/ru_RU.aff "$pkgdir/usr/share/myspell/dicts/ru_RU.aff"
+}