mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/rott: Fix icon sizes.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1909fc0a35
commit
7bfb2a65da
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue