summaryrefslogtreecommitdiffstats
path: root/games/domination
diff options
context:
space:
mode:
Diffstat (limited to 'games/domination')
-rw-r--r--games/domination/domination.SlackBuild21
-rw-r--r--games/domination/domination.info6
2 files changed, 19 insertions, 8 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild
index ae3180f32e..d4e392a15e 100644
--- a/games/domination/domination.SlackBuild
+++ b/games/domination/domination.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for domination
@@ -9,18 +9,29 @@
# See README_SBo.txt for more info on this script (I wrote too many
# comments, moved them to a separate file).
+# 20210310 bkw: updated for v1.2.3.
# 20200928 bkw: updated for v1.2.2.
# 20200307 bkw: updated fov v1.2.1.
# 20191202 bkw: updated for v1.2.0.
# 20161030 bkw: whoops, this should have been noarch to begin with.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=domination
-VERSION=${VERSION:-1.2.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,4 +87,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/domination/domination.info b/games/domination/domination.info
index 9ec98dfd38..ea806b13d4 100644
--- a/games/domination/domination.info
+++ b/games/domination/domination.info
@@ -1,8 +1,8 @@
PRGNAM="domination"
-VERSION="1.2.2"
+VERSION="1.2.3"
HOMEPAGE="http://domination.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/domination/Domination/1.2.2/Domination_1.2.2.zip"
-MD5SUM="006c2c9554b19d19373704dec09be766"
+DOWNLOAD="http://downloads.sourceforge.net/project/domination/Domination/1.2.3/Domination_1.2.3.zip"
+MD5SUM="5a29abcc8f6fe5c6da574bb00cb61e2b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"