aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-09 23:16:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:27 +0700
commit40005fb358ffc4944295e0d1ac40ec5e61a71c45 (patch)
treef6e27d9b6ce870b33ba21d390a375f4a04ba70f9 /games
parent0cf43f37de777f2f4987a2613af49780cfb62e3f (diff)
games/domination: Updated for version 1.2.7.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/domination/domination.SlackBuild13
-rw-r--r--games/domination/domination.info6
2 files changed, 12 insertions, 7 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild
index 06a0983d04e1c..8c5292cd8e526 100644
--- a/games/domination/domination.SlackBuild
+++ b/games/domination/domination.SlackBuild
@@ -9,6 +9,7 @@
# See README_SBo.txt for more info on this script (I wrote too many
# comments, moved them to a separate file).
+# 20230109 bkw: updated for v1.2.7.
# 20211021 bkw: BUILD=2, new-style icons.
# 20210310 bkw: updated for v1.2.3.
# 20200928 bkw: updated for v1.2.2.
@@ -19,8 +20,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=domination
-VERSION=${VERSION:-1.2.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
@@ -52,10 +53,12 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# in fact upstream's wrapper scripts (we include our own).
rm -rf *.exe *.app *.cmd *.zip *.htm *.sh ._*
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+
# Docs first, get rid of DOS line endings.
sed -i 's,\r,,' *.txt
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+mv *.txt $PKGDOC
mkdir -p $PKG/usr/share/icons/hicolor/16x16/apps
mv resources/icon.png $PKG/usr/share/icons/hicolor/16x16/apps/$PRGNAM.png
@@ -94,6 +97,8 @@ cat $CWD/$PRGNAM-swing.desktop > $APPDIR/$PRGNAM-swing.desktop
# no man pages, no command-line options.
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/games/domination/domination.info b/games/domination/domination.info
index d6250585c64ac..1f149c72a0e3c 100644
--- a/games/domination/domination.info
+++ b/games/domination/domination.info
@@ -1,8 +1,8 @@
PRGNAM="domination"
-VERSION="1.2.3"
+VERSION="1.2.7"
HOMEPAGE="http://domination.sourceforge.net/"
-DOWNLOAD="https://downloads.sourceforge.net/project/domination/Domination/1.2.3/Domination_1.2.3.zip"
-MD5SUM="5a29abcc8f6fe5c6da574bb00cb61e2b"
+DOWNLOAD="https://downloads.sourceforge.net/project/domination/Domination/1.2.7/Domination_1.2.7.zip"
+MD5SUM="1444ecede8de871fc5d35d66271777fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk8"