From 7bfb2a65dacfe95a30bc27a0635c7ea9d0822188 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 7 Jan 2023 20:50:31 -0500 Subject: [PATCH] games/rott: Fix icon sizes. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/rott/rott.SlackBuild | 6 ++++-- 1 file 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