diff options
Diffstat (limited to 'games/advancemame/advancemame.SlackBuild')
-rw-r--r-- | games/advancemame/advancemame.SlackBuild | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild index c96b68d18a..9384419a66 100644 --- a/games/advancemame/advancemame.SlackBuild +++ b/games/advancemame/advancemame.SlackBuild @@ -8,6 +8,7 @@ # had no license, modified version released under the WTFPL. See # http://www.wtfpl.net/txt/copying/ for details. +# 20240320 bkw: update for v3.10 # 20220401 bkw: BUILD=3, add SlackBuild to doc dir # 20211004 bkw: BUILD=2, fix for -current # 20180910 bkw: Update for v3.9 @@ -29,8 +30,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=advancemame -VERSION=${VERSION:-3.9} -BUILD=${BUILD:-3} +VERSION=${VERSION:-3.10} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -74,15 +75,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ - -# 20180702 bkw: This file got left out of the 3.8 release tarball. It -# xzips down to 8.5K, so just include it here (taken from upstream git). -JOVER="joverride.dat" -if [ -e $CWD/$JOVER.xz -a ! -e advance/linux/$JOVER ]; then - xzcat $CWD/$JOVER.xz > advance/linux/$JOVER -fi +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + if [ "${SDL2:-yes}" != "yes" ]; then SDL2OPT="--enable-sdl --disable-sdl2" @@ -95,9 +89,6 @@ PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION # but the link fails. advancemame already builds about 8-10x as fast as # mame without it, so not worth worrying about this. -# 20211004 bkw: upstream commit f8688cae needed for -current. -patch -p1 < $CWD/compilefix.diff - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -118,7 +109,10 @@ make # into them, resulting in a mess. make -j1 install prefix=$PKG/usr bindir=$PKG/usr/games docdir=$PKGDOC -# Binaries are installed stripped. Man pages are in the wrong section! +# 20240320 bkw: in 3.9, binaries were installed stripped. Not so in 3.10. +strip $PKG/usr/games/* + +# Man pages are in the wrong section! mv $PKG/usr/man/man1 $PKG/usr/man/man6 sed -i '/^\.TH.* 1$/s,1$,6,' $PKG/usr/man/man6/*.1 rename .1 .6 $PKG/usr/man/man6/*.1 |