aboutsummaryrefslogtreecommitdiff
path: root/games/burgerspace
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-19 03:20:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:07:12 +0700
commit2a0b4b6cb11b5fe4398c7cc86d292aca8e54da43 (patch)
treed4c353f16c81050c2f27305d5eac2b85b8da8674 /games/burgerspace
parent0cea82971515f80cd39047361596eeebeb129d36 (diff)
games/burgerspace: Updated for version 1.9.5.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/burgerspace')
-rw-r--r--games/burgerspace/burgerspace.SlackBuild9
-rw-r--r--games/burgerspace/burgerspace.info6
-rw-r--r--games/burgerspace/doinst.sh6
3 files changed, 17 insertions, 4 deletions
diff --git a/games/burgerspace/burgerspace.SlackBuild b/games/burgerspace/burgerspace.SlackBuild
index 6f74f59087eef..0531ccde0c297 100644
--- a/games/burgerspace/burgerspace.SlackBuild
+++ b/games/burgerspace/burgerspace.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230819 bkw: update for v1.9.5, new-style icon dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=burgerspace
-VERSION=${VERSION:-1.9.4}
+VERSION=${VERSION:-1.9.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,6 +82,11 @@ gzip $PKG/usr/man/man?/*.?
# 'make install-strip' created the doc dir already
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# 20230819 bkw: new-style icon dir.
+mkdir -p $PKG/usr/share/icons/hicolor/32x32/apps
+mv $PKG/usr/share/pixmaps/* $PKG/usr/share/icons/hicolor/32x32/apps
+ln -s ../icons/hicolor/32x32/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+
# get rid of autoconf-mandated 0-byte THANKS and TODO placeholders.
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -a -empty | xargs rm -f
diff --git a/games/burgerspace/burgerspace.info b/games/burgerspace/burgerspace.info
index 1452260cd7584..a731394bba882 100644
--- a/games/burgerspace/burgerspace.info
+++ b/games/burgerspace/burgerspace.info
@@ -1,8 +1,8 @@
PRGNAM="burgerspace"
-VERSION="1.9.4"
+VERSION="1.9.5"
HOMEPAGE="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html"
-DOWNLOAD="https://slackware.uk/~urchlay/src/burgerspace-1.9.4.tar.gz"
-MD5SUM="c942143065bcb5ee235fb69df4389a7b"
+DOWNLOAD="http://perso.b2b2c.ca/~sarrazip/dev/burgerspace-1.9.5.tar.gz"
+MD5SUM="15e419b7824a3430f9036567fca2e62e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="flatzebra"
diff --git a/games/burgerspace/doinst.sh b/games/burgerspace/doinst.sh
index 5fb28930db0b9..65c7e2eeb9aa5 100644
--- a/games/burgerspace/doinst.sh
+++ b/games/burgerspace/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi