summaryrefslogtreecommitdiffstats
path: root/games/rott/rott.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/rott/rott.SlackBuild')
-rw-r--r--games/rott/rott.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/rott/rott.SlackBuild b/games/rott/rott.SlackBuild
index 030515a094..65efbe4aa9 100644
--- a/games/rott/rott.SlackBuild
+++ b/games/rott/rott.SlackBuild
@@ -2,10 +2,12 @@
# Slackware build script for rott
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# 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