diff options
Diffstat (limited to 'games/atari800/atari800.SlackBuild')
-rw-r--r-- | games/atari800/atari800.SlackBuild | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild index 196b93db3e..a4d603a8f3 100644 --- a/games/atari800/atari800.SlackBuild +++ b/games/atari800/atari800.SlackBuild @@ -2,10 +2,18 @@ # Slackware build script for atari800 -# 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. +# 20240312 bkw: +# - update for v5.2.0. +# - new-style icons. + +# 20220615 bkw: +# - update for 5.0.0. +# - add man page for new cart utility. + # 20220407 bkw: BUILD=2, strip binary. # 20200303 bkw: @@ -25,8 +33,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=atari800 -VERSION=${VERSION:-4.2.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.2.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -131,6 +139,8 @@ sed '/^\.TH *ATARI800 *1/s| 1 | 6 |' $PKG/usr/man/man1/$PRGNAM.1 | \ $PKG/usr/man/man6/$PRGNAM.6.gz rm -rf $PKG/usr/man/man1 +gzip -9c < $CWD/cart.6 > $PKG/usr/man/man6/cart.6.gz + cat $CWD/$PRGNAM.SlackBuild > $PKGDOCDIR/$PRGNAM.SlackBuild [ ! -d ../DOC ] && cd src @@ -146,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 |