diff options
author | David Melik <dchmelik@gmail.com> | 2020-11-14 06:50:48 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-14 17:16:43 +0700 |
commit | 08f3a10e34bf39fff21984bd6976f9d7fdaaa4c4 (patch) | |
tree | 5dcc139ecfc36f0bbffe21ce132fee49f683f371 /games | |
parent | afe5e9d35bcc8fd5706b7440b641b3f5b92cc10d (diff) | |
download | slackbuilds-08f3a10e34bf39fff21984bd6976f9d7fdaaa4c4.tar.gz |
games/tome-sx: Version number cleanup.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/tome-sx/tome-sx.SlackBuild | 12 | ||||
-rw-r--r-- | games/tome-sx/tome-sx.info | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/games/tome-sx/tome-sx.SlackBuild b/games/tome-sx/tome-sx.SlackBuild index c12eed96ff..e40eb39ef1 100644 --- a/games/tome-sx/tome-sx.SlackBuild +++ b/games/tome-sx/tome-sx.SlackBuild @@ -23,11 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tome-sx -VERSION=${VERSION:-c1fe5a0ad25317a4bdf27ddba1522fd896389873} +VERSION=${VERSION:-20160915_c1fe5a0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCPRGNAM=ToME-SX +GITVER="$( echo $VERSION | cut -d_ -f2 )" + +SRCNAM=ToME-SX if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -61,9 +63,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCPRGNAM-$VERSION -tar xvf $CWD/$SRCPRGNAM-$VERSION.tar.gz -cd $SRCPRGNAM-$VERSION +rm -rf $SRCNAM-$GITVER* +tar xvf $CWD/$SRCNAM-$GITVER*.tar.gz +cd $SRCNAM-$GITVER* chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/games/tome-sx/tome-sx.info b/games/tome-sx/tome-sx.info index ca5a8d8c71..a4a0526f72 100644 --- a/games/tome-sx/tome-sx.info +++ b/games/tome-sx/tome-sx.info @@ -1,5 +1,5 @@ PRGNAM="tome-sx" -VERSION="c1fe5a0ad25317a4bdf27ddba1522fd896389873" +VERSION="20160915_c1fe5a0" HOMEPAGE="https://github.com/AmyBSOD/ToME-SX" DOWNLOAD="https://github.com/AmyBSOD/ToME-SX/archive/c1fe5a0ad25317a4bdf27ddba1522fd896389873/ToME-SX-c1fe5a0ad25317a4bdf27ddba1522fd896389873.tar.gz" MD5SUM="79101bc283ed4f4af733800f824d3f4f" |