summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDmytro Meleshko2021-05-06 17:30:57 +0300
committerDmytro Meleshko2021-05-06 17:30:57 +0300
commit6829965931d1114178fca4eda5ebcfdf5e96ef1d (patch)
tree3eead24c72bd9818da86afd1b24e139048bb9fcb /PKGBUILD
parent77dd1dcc1779189ecccd80f7b725824dcf014339 (diff)
downloadaur-6829965931d1114178fca4eda5ebcfdf5e96ef1d.tar.gz
fix file placement issues
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3d0cef47ac76..16b2b093523e 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"
}