games/ags: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-16 23:05:23 +00:00 committed by Willy Sudiarto Raharjo
parent 992229615b
commit e032b492fc

View file

@ -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 .