aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-16 23:05:23 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:27:24 +0700
commite032b492fc3ed09d65ee951a93cec9dda41abded (patch)
tree0fd9e59902861e026c7cb83bc26cdf847311f566
parent992229615b732c33210302dcab38c41f62a051b4 (diff)
games/ags: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 f2fd261e39f3..1073df2703f6 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 .