summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmytro Meleshko2021-05-06 17:30:57 +0300
committerDmytro Meleshko2021-05-06 17:30:57 +0300
commit6829965931d1114178fca4eda5ebcfdf5e96ef1d (patch)
tree3eead24c72bd9818da86afd1b24e139048bb9fcb
parent77dd1dcc1779189ecccd80f7b725824dcf014339 (diff)
downloadaur-6829965931d1114178fca4eda5ebcfdf5e96ef1d.tar.gz
fix file placement issues
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 4 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2dbb5bb2f94..9f16f33e694 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hyphen-ru
pkgdesc = Russian hyphenation rules
pkgver = 20200604
- pkgrel = 1
+ pkgrel = 2
url = https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 3d0cef47ac7..16b2b093523 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=hyphen-ru
pkgver=20200604
_commit=12e591abdbc5565e5018ed9b8fbe6d635ade87d7
-pkgrel=1
+pkgrel=2
pkgdesc="Russian hyphenation rules"
arch=('any')
url='https://cgit.freedesktop.org/libreoffice/dictionaries/tree/ru_RU'
@@ -18,8 +18,6 @@ package() {
install -Dm644 "${pkgname}-README.txt" "${pkgdir}/usr/share/licenses/${pkgname}/README.txt"
install -dm755 "${pkgdir}/usr/share/hyphen"
install -dm755 "${pkgdir}/usr/share/myspell/dicts"
- for dict in "${pkgname}.dic"; do
- install -Dm644 "${dict}" "${pkgdir}/usr/share/hyphen"
- ln -sT "/usr/share/hyphen/${dict}" "${pkgdir}/usr/share/myspell/dicts/${dict}"
- done
+ install -Dm644 "${pkgname}.dic" "${pkgdir}/usr/share/hyphen/hyph_ru_RU.dic"
+ ln -sT "/usr/share/hyphen/hyph_ru_RU.dic" "${pkgdir}/usr/share/myspell/dicts/hyph_ru_RU.dic"
}