mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
ccc0372dec
commit
f58f82348b
3 changed files with 27 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="atari800"
|
||||
VERSION="5.0.0"
|
||||
VERSION="5.2.0"
|
||||
HOMEPAGE="https://atari800.github.io/"
|
||||
DOWNLOAD="https://github.com/atari800/atari800/releases/download/ATARI800_5_0_0/atari800-5.0.0-src.tgz"
|
||||
MD5SUM="f5dc10d461d0241a5978a0998028e49a"
|
||||
DOWNLOAD="https://github.com/atari800/atari800/releases/download/ATARI800_5_2_0/atari800-5.2.0-src.tgz"
|
||||
MD5SUM="bed6188abbe73c2ac109dc954050fd46"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue