summaryrefslogtreecommitdiffstats
path: root/games/rott/rott.SlackBuild
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-07 20:50:31 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:20 +0700
commit7bfb2a65dacfe95a30bc27a0635c7ea9d0822188 (patch)
tree24d1f9f9a6ea41692402ba3284bfb8f33a43681d /games/rott/rott.SlackBuild
parent1909fc0a358b5ae57cb27a11c722bec11f772884 (diff)
downloadslackbuilds-7bfb2a65dacfe95a30bc27a0635c7ea9d0822188.tar.gz
slackbuilds-7bfb2a65dacfe95a30bc27a0635c7ea9d0822188.tar.xz
games/rott: Fix icon sizes.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--games/rott/rott.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/rott/rott.SlackBuild b/games/rott/rott.SlackBuild
index b515549a0f..65efbe4aa9 100644
--- a/games/rott/rott.SlackBuild
+++ b/games/rott/rott.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=3, fix icon sizes.
+
# 20211025 bkw: BUILD=2
# - new-style icons.
# - .desktop file starts in windowed mode, not fullscreen.
@@ -14,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rott
VERSION=${VERSION:-1.1.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -116,7 +118,7 @@ for px in 16 32 48 64 128; do
size=${px}x${px}
dir=$PKG/usr/share/icons/hicolor/$size/apps
mkdir -p $dir
- convert -resize $size $CWD/$PRGNAM.png $dir/$PRGNAM.png
+ convert -resize $size! $CWD/$PRGNAM.png $dir/$PRGNAM.png
done
ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png