From 238c1dbc18585ac5922af735509c8d2d000aa813 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 3 Mar 2020 16:04:22 -0500 Subject: games/atari800: Updated for version 4.2.0. Signed-off-by: B. Watson --- games/atari800/atari800.SlackBuild | 18 +++++++++++++++--- games/atari800/atari800.info | 6 +++--- 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'games/atari800') diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild index 9a2db8549e..82e717f756 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. +# 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 diff --git a/games/atari800/atari800.info b/games/atari800/atari800.info index 5a4f29c24d..c048b2ebfe 100644 --- a/games/atari800/atari800.info +++ b/games/atari800/atari800.info @@ -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="" -- cgit v1.2.3