diff options
author | Dmytro Meleshko | 2021-12-16 16:42:54 +0200 |
---|---|---|
committer | Dmytro Meleshko | 2021-12-16 16:43:17 +0200 |
commit | 039ebe4df25a20dfd108878f31a5b06b1c1607b5 (patch) | |
tree | ecbf12815c7bedead8fb5647cb8c39f59759df89 /PKGBUILD | |
parent | c85db1ee0332ef68a5abf888cedf500ef84b861d (diff) | |
download | aur-hyphen-ru.tar.gz |
fix build failure
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=hyphen-ru pkgver=20210727 _commit=30dd499 -pkgrel=1 +pkgrel=2 pkgdesc="Russian hyphenation rules" arch=('any') url='https://github.com/LibreOffice/dictionaries/tree/master/ru_RU' @@ -15,9 +15,9 @@ sha256sums=('e9a6ae92765fc7e63d879f2ccf3f50f2b95bc8ed7618a6f31c34ce7d39844c83' package() { cd "$srcdir" - install -Dm644 "${pkgname}-README.txt" "${pkgdir}/usr/share/licenses/${pkgname}/README.txt" + install -Dm644 "${pkgname}-${_commit}-README.txt" "${pkgdir}/usr/share/licenses/${pkgname}/README.txt" install -dm755 "${pkgdir}/usr/share/hyphen" install -dm755 "${pkgdir}/usr/share/myspell/dicts" - install -Dm644 "${pkgname}.dic" "${pkgdir}/usr/share/hyphen/hyph_ru_RU.dic" + install -Dm644 "${pkgname}-${_commit}.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" } |