games/tome-sx: Version number cleanup.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Melik 2020-11-14 06:50:48 +00:00 committed by Willy Sudiarto Raharjo
parent afe5e9d35b
commit 08f3a10e34
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 6 deletions

View file

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

View file

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