diff options
author | Emanuele 'Lele' Calo | 2018-02-07 17:50:22 +0100 |
---|---|---|
committer | Emanuele 'Lele' Calo | 2018-02-07 17:50:22 +0100 |
commit | 787bb7152f3147b732d84e5867a1e49078b6ccf9 (patch) | |
tree | a040e2759824f163353b062440514ad7f74700a3 | |
parent | ed1bb4128b01a6a1c5e15f184c958e35ec0e03ec (diff) | |
download | aur-787bb7152f3147b732d84e5867a1e49078b6ccf9.tar.gz |
Fixed chmod usage
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = adom-noteye pkgdesc = A roguelike game with a quest-centric, plot driven structure (+ GUI) - Please consider buying the game on Steam pkgver = 3.0.6 - pkgrel = 1 + pkgrel = 2 url = http://www.adom.de/ arch = x86_64 license = custom:adom @@ -2,7 +2,7 @@ pkgname=adom-noteye pkgver=3.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="A roguelike game with a quest-centric, plot driven structure (+ GUI) - Please consider buying the game on Steam" arch=("x86_64") url="http://www.adom.de/" @@ -32,15 +32,12 @@ package() { # Since the adom binary uses a relative RPATH, it's either # this or patching the binary - install "${srcdir}/adom.sh" "${pkgdir}/opt/adom/adom.sh" - chmod 755 "${pkgdir}/opt/adom/adom.sh" + install --mode 755 "${srcdir}/adom.sh" "${pkgdir}/opt/adom/adom.sh" install -d "${pkgdir}/usr/bin" ln -s "${pkgdir}/opt/adom/adom.sh" "${pkgdir}/usr/bin/adom" # Add the LICENSE file install -d "${pkgdir}/usr/share/licenses/${pkgname}" - install "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - chmod 644 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install --mode 644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |