summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDzmitry Kushnarou2020-02-18 22:58:17 +0300
committerDzmitry Kushnarou2020-02-18 22:58:17 +0300
commitf3a034431a742c1d1093729406b41582491e6bbe (patch)
tree0307fd1d9afb24573ff4608c6fb6700c601336ca
downloadaur-hunspell-be.tar.gz
Initial commit for the Belarusian dictionary
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..9368839460f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = hunspell-be
+ pkgdesc = Belarusian hunspell dictionary (academic orthography)
+ pkgver = 0.58.1webext
+ pkgrel = 1
+ url = https://addons.mozilla.org/en-US/firefox/addon/belarusian-spellcheck-webext/
+ arch = any
+ license = CC-BY-SA 3.0
+ optdepends = hunspell: the spell checking libraries and apps
+ source = hunspell-be-0.58.1webext.zip::https://addons.mozilla.org/firefox/downloads/file/3362283/belarusian_spellcheck_dictionary-0.58.1webext.xpi
+ md5sums = 94c4b63df14d5a53710608a847549505
+ sha1sums = 4d540b9a63527943059fe692d5795ed5354d8e11
+ sha256sums = c6790b32db345d2d8064a8d68c253d016ce9c7902f1dc6837a932c6008eb89a2
+
+pkgname = hunspell-be
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..622f1605c27f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Dzmitry Kushnarou <dmymd@yandex.by>
+
+pkgname='hunspell-be'
+pkgver=0.58.1webext
+pkgrel=1
+pkgdesc="Belarusian hunspell dictionary (academic orthography)"
+arch=('any')
+url="https://addons.mozilla.org/en-US/firefox/addon/belarusian-spellcheck-webext/"
+license=('CC-BY-SA 3.0')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=("${pkgname}-${pkgver}.zip::https://addons.mozilla.org/firefox/downloads/file/3362283/belarusian_spellcheck_dictionary-0.58.1webext.xpi")
+md5sums=('94c4b63df14d5a53710608a847549505')
+sha1sums=('4d540b9a63527943059fe692d5795ed5354d8e11')
+sha256sums=('c6790b32db345d2d8064a8d68c253d016ce9c7902f1dc6837a932c6008eb89a2')
+
+package() {
+ cd "$srcdir/dictionaries"
+ install -d -m 755 "$pkgdir/usr/share/hunspell"
+ install -m 644 be_BY.{aff,dic} "$pkgdir/usr/share/hunspell"
+
+ install -d -m 755 "$pkgdir/usr/share/doc/$pkgname"
+ cp "README_be_BY.txt" README
+ install -m 644 README "$pkgdir/usr/share/doc/$pkgname"
+}