aboutsummaryrefslogtreecommitdiff
path: root/games/domination/domination.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/domination/domination.SlackBuild')
-rw-r--r--games/domination/domination.SlackBuild13
1 files changed, 9 insertions, 4 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