summaryrefslogtreecommitdiff
path: root/games/atari++/atari++.SlackBuild
diff options
context:
space:
mode:
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