diff options
author | B. Watson | 2024-03-13 00:18:27 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2024-03-16 04:22:19 +0100 |
commit | f58f82348b51d9612f518426b370d7e4fdaaa1ba (patch) | |
tree | c764956a9b11aefc3aa2a4f7d8f7f46c5ff64ca2 /games/atari800/atari800.SlackBuild | |
parent | ccc0372decba784703ac51b3a11ce5ecc5496140 (diff) | |
download | slackbuilds-f58f82348b51d9612f518426b370d7e4fdaaa1ba.tar.gz |
games/atari800: Updated for version 5.2.0.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/atari800/atari800.SlackBuild')
-rw-r--r-- | games/atari800/atari800.SlackBuild | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild index 854d2ad339..a4d603a8f3 100644 --- a/games/atari800/atari800.SlackBuild +++ b/games/atari800/atari800.SlackBuild @@ -6,6 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20240312 bkw: +# - update for v5.2.0. +# - new-style icons. + # 20220615 bkw: # - update for 5.0.0. # - add man page for new cart utility. @@ -29,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=atari800 -VERSION=${VERSION:-5.0.0} +VERSION=${VERSION:-5.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -152,9 +156,20 @@ cp -a util $PKGDOCDIR # the act/*.act files are palettes from the dark ages, leave them out. -# nice copyright-friendly icon +# nice copyright-friendly icon. +# 20240312 bkw: new-style icons. +for px in 16 22 32 48 64 128; do + sz="${px}x${px}" + dir=$PKG/usr/share/icons/hicolor/$sz/apps + mkdir -p $dir + rsvg-convert --width=$px --height=$px data/atari2.svg > $dir/$PRGNAM.png +done + +mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps +cat data/atari2.svg > $PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg + mkdir -p $PKG/usr/share/pixmaps -cat data/atari2.png > $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png # .desktop file written for this build mkdir -p $PKG/usr/share/applications |