summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2020-11-30 23:11:11 +0100
committerEric Engestrom2020-11-30 23:11:11 +0100
commitcd466268d049cca2199998819d33f13634aa864e (patch)
tree88da9cb78f5f87a34a2efa1ce60991ac997d7fa4
parent921934aa390bd4fa2e8802e620825a2c2d70f138 (diff)
downloadaur-cd466268d049cca2199998819d33f13634aa864e.tar.gz
fix executable path
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 53ed6cdc31a3..c4fb0d861b6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,9 @@ package() {
bsdtar xf "dragonframe4_${pkgver}_amd64.deb"
bsdtar xf data.tar.xz -C "$pkgdir"
+ # Fix executable path
+ sed 's, bin/, /opt/dragonframe4/bin/,' -i "$pkgdir"/opt/dragonframe4/dragonframe4
+
# Placeholder file for the user's license
install -dm 755 "$pkgdir"/etc/opt/dragonframe4
echo "# License File" > "$pkgdir"/etc/opt/dragonframe4/license.properties