summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanuele 'Lele' Calo2018-02-07 17:50:22 +0100
committerEmanuele 'Lele' Calo2018-02-07 17:50:22 +0100
commit787bb7152f3147b732d84e5867a1e49078b6ccf9 (patch)
treea040e2759824f163353b062440514ad7f74700a3
parented1bb4128b01a6a1c5e15f184c958e35ec0e03ec (diff)
downloadaur-787bb7152f3147b732d84e5867a1e49078b6ccf9.tar.gz
Fixed chmod usage
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d3878e24ad31..3fe331adf9f9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index fb56ed28ecbf..b52f1d988655 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}