diff options
author | Quentin Retornaz | 2017-06-19 17:45:58 +0200 |
---|---|---|
committer | Quentin Retornaz | 2017-06-19 17:45:58 +0200 |
commit | 73aa9fcffe35456b16a3feb82a0d03819efb1d21 (patch) | |
tree | c947bfcfff4923c7052f85bea03e7a756ecb5510 /PKGBUILD | |
parent | 87b04f6c5bf192b563d671af2dabb1df3e8b6373 (diff) | |
download | aur-73aa9fcffe35456b16a3feb82a0d03819efb1d21.tar.gz |
fix launcher
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=firewatch-gog pkgver=1.06_2.4.0.5 _gogver=2.4.0.5 -pkgrel=2 +pkgrel=3 pkgdesc="Firewatch is a single-player first-person mystery set in the Wyoming wilderness." arch=('x86_64') url="http://www.redbarrelsgames.com/" @@ -23,8 +23,10 @@ package() { # Install Binaries/Launchers mkdir -p "${pkgdir}/usr/bin" - ln -s "/opt/firewatch/start.sh" \ - "${pkgdir}/usr/bin/firewatch" + cat > "${pkgdir}/usr/bin/firewatch" <<END +#!/bin/bash +/opt/firewatch/start.sh +END # Desktop Integration mkdir -p "${pkgdir}/usr/share/pixmaps/" @@ -35,6 +37,7 @@ package() { # Permissions find "${pkgdir}/opt/firewatch" -type d -exec chmod 755 {} \; find "${pkgdir}/opt/firewatch" -type f -exec chmod 644 {} \; + chmod 755 "${pkgdir}/usr/bin/firewatch" chmod 755 "${pkgdir}/opt/firewatch/start.sh" chmod 755 "${pkgdir}/opt/firewatch/game/fw.${CARCH}" } |