summaryrefslogtreecommitdiffstats
path: root/games/ags/ags.SlackBuild
diff options
context:
space:
mode:
author David Spencer2016-01-17 00:05:23 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:27:24 +0100
commite032b492fc3ed09d65ee951a93cec9dda41abded (patch)
tree0fd9e59902861e026c7cb83bc26cdf847311f566 /games/ags/ags.SlackBuild
parent992229615b732c33210302dcab38c41f62a051b4 (diff)
downloadslackbuilds-e032b492fc3ed09d65ee951a93cec9dda41abded.tar.gz
games/ags: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/ags/ags.SlackBuild')
-rw-r--r--games/ags/ags.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/ags/ags.SlackBuild b/games/ags/ags.SlackBuild
index f2fd261e39..1073df2703 100644
--- a/games/ags/ags.SlackBuild
+++ b/games/ags/ags.SlackBuild
@@ -66,7 +66,7 @@ cd $TMP
rm -rf allegro-${ALLEGRO_VERSION}
rm -rf dumb-${DUMB_VERSION}
-rm -rf allegro${ALLEGRO_VERSION}
+rm -rf ags-v.${VERSION}
# Build Allegro 4 first.
@@ -121,7 +121,7 @@ make install
# And finaly install Adventure Game Studio.
cd $TMP
-tar xvf $CWD/v.${VERSION}.tar.gz
+tar xvf $CWD/v.${VERSION}.tar.gz || tar xvf $CWD/ags-v.${VERSION}.tar.gz
cd ags-v.$VERSION
chown -R root:root .