summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a554530fe31..df3016cd208 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hunspell-ru
pkgdesc = Russian hunspell dictionary
pkgver = 20200604
- pkgrel = 2
+ pkgrel = 3
url = https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index fff56b06035..23c44937716 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=hunspell-ru
pkgver=20200604
_commit=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
-pkgrel=2
+pkgrel=3
pkgdesc="Russian hunspell dictionary"
arch=('any')
url='https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU'
@@ -21,8 +21,8 @@ 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 -m644 "${dict}" "${pkgdir}/usr/share/hunspell"
- ln -s "/usr/share/hunspell/${dict}" "${pkgdir}/usr/share/myspell/dicts"
+ for dict in aff dic; do
+ install -Dm644 "${pkgname}.${dict}" "${pkgdir}/usr/share/hunspell/ru_RU.${dict}"
+ ln -Ts "/usr/share/hunspell/ru_RU.${dict}" "${pkgdir}/usr/share/myspell/dicts/ru_RU.${dict}"
done
}