summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7bf3dc9c472..a554530fe31 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,17 @@
pkgbase = hunspell-ru
pkgdesc = Russian hunspell dictionary
pkgver = 20200604
- pkgrel = 1
+ pkgrel = 2
url = https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU
arch = any
- license = LGPL3
+ license = custom
depends = hunspell
source = hunspell-ru.aff::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.aff?id=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
source = hunspell-ru.dic::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.dic?id=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
+ source = hunspell-ru-README.txt::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/README_ru_RU.txt?id=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
sha256sums = 38ce7d4af78e211e9bafe4bf7e3d6a2c420591136cb738ec6648f8fdf6524cd7
sha256sums = 3280afe7829128ff589b2c5d8f46810ed9b0eddcc85e9b1cc3d12dc08d4c1a0b
+ sha256sums = 262af2f6ad70a61e5ee1332ff44fa8ee50edca819cf33207d8ad6ba6a0c9be52
pkgname = hunspell-ru
diff --git a/PKGBUILD b/PKGBUILD
index 9ddd938a92e..fff56b06035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,22 +4,25 @@
pkgname=hunspell-ru
pkgver=20200604
_commit=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
-pkgrel=1
+pkgrel=2
pkgdesc="Russian hunspell dictionary"
arch=('any')
url='https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU'
-license=('LGPL3')
+license=('custom')
depends=('hunspell')
source=("${pkgname}.aff::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.aff?id=${_commit}"
- "${pkgname}.dic::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.dic?id=${_commit}")
+ "${pkgname}.dic::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/ru_RU.dic?id=${_commit}"
+ "${pkgname}-README.txt::https://cgit.freedesktop.org/libreoffice/dictionaries/plain/ru_RU/README_ru_RU.txt?id=${_commit}")
sha256sums=('38ce7d4af78e211e9bafe4bf7e3d6a2c420591136cb738ec6648f8fdf6524cd7'
- '3280afe7829128ff589b2c5d8f46810ed9b0eddcc85e9b1cc3d12dc08d4c1a0b')
+ '3280afe7829128ff589b2c5d8f46810ed9b0eddcc85e9b1cc3d12dc08d4c1a0b'
+ '262af2f6ad70a61e5ee1332ff44fa8ee50edca819cf33207d8ad6ba6a0c9be52')
package() {
+ install -Dm644 "${pkgname}-README.txt" "${pkgdir}/usr/share/licenses/${pkgname}/README.txt"
install -dm755 "${pkgdir}/usr/share/hunspell"
install -dm755 "${pkgdir}/usr/share/myspell/dicts"
for dict in "$pkgname".{aff,dic}; do
- install -vm644 "${dict}" "${pkgdir}/usr/share/hunspell"
- ln -sv "/usr/share/hunspell/${dict}" "${pkgdir}/usr/share/myspell/dicts"
+ install -m644 "${dict}" "${pkgdir}/usr/share/hunspell"
+ ln -s "/usr/share/hunspell/${dict}" "${pkgdir}/usr/share/myspell/dicts"
done
}