games/atari800: Updated for version 4.2.0.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2020-03-03 16:04:22 -05:00 committed by Willy Sudiarto Raharjo
parent 1cf00b202d
commit 238c1dbc18
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 18 additions and 6 deletions

View file

@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20200303 bkw:
# - update for 4.2.0, can still build 3.1.0, 4.0.0, 4.1.0.
# - move binary to /usr/games, man page to section 6.
# 20191126 bkw:
# - update for v4.1.0. script can still build VERSION=3.1.0 or 4.0.0.
@ -17,7 +21,7 @@
# - minor script tweaks.
PRGNAM=atari800
VERSION=${VERSION:-4.1.0}
VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -48,7 +52,7 @@ else
LIBDIRSUFFIX=""
fi
# allow bulding without OpenGL, in case someone needs it
# allow building without OpenGL, in case someone needs it
if [ "${OPENGL:-yes}" = "yes" ]; then
GLWITH="with"
else
@ -97,6 +101,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--bindir=/usr/games \
--mandir=/usr/man \
--docdir=$DOCDIR \
--build=$ARCH-slackware-linux
@ -109,7 +114,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DOC_DIR=$DOCDIR MAN_DIR=/usr/man/man1 DESTDIR=$PKG
gzip $PKG/usr/man/man1/$PRGNAM.1
# 20200303 bkw: move man page to section 6 (games)
mkdir -p $PKG/usr/man/man6
sed '/^\.TH *ATARI800 *1/s| 1 | 6 |' $PKG/usr/man/man1/$PRGNAM.1 | \
gzip -9c > \
$PKG/usr/man/man6/$PRGNAM.6.gz
rm -rf $PKG/usr/man/man1
cat $CWD/$PRGNAM.SlackBuild > $PKGDOCDIR/$PRGNAM.SlackBuild
[ ! -d ../DOC ] && cd src

View file

@ -1,8 +1,8 @@
PRGNAM="atari800"
VERSION="4.1.0"
VERSION="4.2.0"
HOMEPAGE="https://atari800.github.io/"
DOWNLOAD="https://github.com/atari800/atari800/releases/download/ATARI800_4_1_0/atari800-4.1.0-src.tgz"
MD5SUM="b187cd33fec27897a409b0be94a5f3ef"
DOWNLOAD="https://github.com/atari800/atari800/releases/download/ATARI800_4_2_0/atari800-4.2.0-src.tgz"
MD5SUM="695031b9bc3461cd18ec9090779d984b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""