summaryrefslogtreecommitdiffstats
path: root/games/atari800/atari800.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/atari800/atari800.SlackBuild')
-rw-r--r--games/atari800/atari800.SlackBuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild
index df5506c710..854d2ad339 100644
--- a/games/atari800/atari800.SlackBuild
+++ b/games/atari800/atari800.SlackBuild
@@ -2,10 +2,16 @@
# 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.
+# 20220615 bkw:
+# - update for 5.0.0.
+# - add man page for new cart utility.
+
+# 20220407 bkw: BUILD=2, strip binary.
+
# 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.
@@ -23,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=atari800
-VERSION=${VERSION:-4.2.0}
+VERSION=${VERSION:-5.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -120,7 +126,7 @@ CXXFLAGS="$SLKCFLAGS" \
# only sound actually work. Must determine WTF's going on here.
make
-make install DOC_DIR=$DOCDIR MAN_DIR=/usr/man/man1 DESTDIR=$PKG
+make install-strip DOC_DIR=$DOCDIR MAN_DIR=/usr/man/man1 DESTDIR=$PKG
# 20200303 bkw: move man page to section 6 (games)
mkdir -p $PKG/usr/man/man6
@@ -129,6 +135,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