summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLarzid2020-01-08 13:45:53 -0600
committerLarzid2020-01-08 13:45:53 -0600
commit88db79008b5235a2cc09562fe12cd89f37037359 (patch)
tree4e5f73d1e79e411841f3672a79f40601f7c7ce15 /PKGBUILD
parent13b47e9ffeff4c5335becd51c3f14b886307ac1a (diff)
downloadaur-88db79008b5235a2cc09562fe12cd89f37037359.tar.gz
Launch script fix.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index facc6b200fed..fdca4b07cfe5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
#Maintainer: Larzid <juanitocampamocha@gmail.com>
pkgname=sotw
pkgver=1.1.5.1
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="Shadow Of The Wyrm is a single player, traditional roguelike by Julian Day."
arch=('x86_64')
@@ -31,7 +31,8 @@ build() {
}
package() {
- echo "cd /usr/share/shadow-of-the-wyrm" > ${srcdir}/shadow-of-the-wyrm/sotw.sh
+ echo "#!/bin/sh" > ${srcdir}/shadow-of-the-wyrm/sotw.sh
+ echo "cd /usr/share/shadow-of-the-wyrm" >> ${srcdir}/shadow-of-the-wyrm/sotw.sh
echo "./ShadowOfTheWyrm" >> ${srcdir}/shadow-of-the-wyrm/sotw.sh
chmod +x ${srcdir}/shadow-of-the-wyrm/sotw.sh
install -D -m644 ${srcdir}/shadow-of-the-wyrm/LICENSE "${pkgdir}/usr/share/licenses/shadow-of-the-wyrm/LICENSE"