From fdce01a539ce5e20f779bb49d1fcc11b5c87541b Mon Sep 17 00:00:00 2001 From: B. Watson Date: Tue, 3 Jul 2018 15:40:21 -0400 Subject: games/atari800: Updated for version 4.0.0. Signed-off-by: B. Watson --- games/atari800/atari800.SlackBuild | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'games/atari800/atari800.SlackBuild') diff --git a/games/atari800/atari800.SlackBuild b/games/atari800/atari800.SlackBuild index 64224403fb..404aaf2b06 100644 --- a/games/atari800/atari800.SlackBuild +++ b/games/atari800/atari800.SlackBuild @@ -6,8 +6,15 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20180703 bkw: +# - update for v4.0.0. script can still build VERSION=3.1.0 if needed. +# - update README to mention the new Altirra OS stuff. +# - minor slack-desc and README fix. +# - don't install INSTALL in /usr/doc. +# - minor script tweaks. + PRGNAM=atari800 -VERSION=${VERSION:-3.1.0} +VERSION=${VERSION:-4.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -58,9 +65,12 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +DOCDIR=/usr/doc/$PRGNAM-$VERSION +PKGDOCDIR=$PKG/$DOCDIR cd src @@ -86,24 +96,23 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ + --docdir=$DOCDIR \ --build=$ARCH-slackware-linux make -make install DOC_DIR=/usr/doc/$PRGNAM-$VERSION MAN_DIR=/usr/man/man1 DESTDIR=$PKG - +make install DOC_DIR=$DOCDIR MAN_DIR=/usr/man/man1 DESTDIR=$PKG gzip $PKG/usr/man/man1/$PRGNAM.1 -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +cat $CWD/$PRGNAM.SlackBuild > $PKGDOCDIR/$PRGNAM.SlackBuild # 'make install' misses a lot of the docs, let's add them. cd ../DOC -rm -f directx.txt -cp -a BUGS CREDITS ChangeLog FAQ TODO *.txt $PKG/usr/doc/$PRGNAM-$VERSION +rm -f directx.txt $PKGDOCDIR/INSTALL +cp -a BUGS CREDITS ChangeLog FAQ TODO *.txt $PKGDOCDIR cd .. # util/ is worth keeping, but mostly for reference (so it goes in /usr/doc) chmod -x util/*.* util/export -cp -a util $PKG/usr/doc/$PRGNAM-$VERSION +cp -a util $PKGDOCDIR # the act/*.act files are palettes from the dark ages, leave them out. -- cgit v1.2.3