summaryrefslogtreecommitdiff
path: root/games/atari++/atari++.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-03-19 13:10:50 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-21 13:01:21 -0500
commite87197ddd2a37c6e7f34e250941019e6a4e981dc (patch)
tree9b7545b28d5b650623ad51746d5dca21981217a5 /games/atari++/atari++.SlackBuild
parent1c775917ed4c3cca1625204786ba277dc2e2385d (diff)
downloadslackbuilds-e87197ddd2a37c6e7f34e250941019e6a4e981dc.tar.gz
games/atari++: Updated for version 1.73.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/atari++/atari++.SlackBuild')
-rw-r--r--games/atari++/atari++.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/atari++/atari++.SlackBuild b/games/atari++/atari++.SlackBuild
index a0f44cb29f..3197501f5a 100644
--- a/games/atari++/atari++.SlackBuild
+++ b/games/atari++/atari++.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=atari++
-VERSION=${VERSION:-1.72}
+VERSION=${VERSION:-1.73}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,20 +72,18 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
- make OPTIMIZER="$SLKCFLAGS"
+ make OPTIMIZER="$SLKCFLAGS"
else
- make
+ make
fi
# no DESTDIR support, --mandir is ignored, docs go to /usr/share/doc,
# let's not use `make install' at all.
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/bin $PKG/usr/man/man6 $PKG/usr/doc/$PRGNAM-$VERSION
install -s -m0755 -o root -g root $PRGNAM $PKG/usr/bin
-# Man page should be section 1, not 6
-sed -e 's/^\(\.TH atari++\) 6/\1 1/' < $PRGNAM.man | \
- gzip -9c - > $PKG/usr/man/man1/$PRGNAM.1.gz
+gzip -9c < $PRGNAM.man > $PKG/usr/man/man6/$PRGNAM.6.gz
mkdir -p $PKG/usr/share/{applications,pixmaps}
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
@@ -94,7 +92,7 @@ cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYRIGHT CREDITS ARCHITECTURE README.History README.LEGAL README.licence \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html