diff options
Diffstat (limited to 'games/pinball/pinball.SlackBuild')
-rw-r--r-- | games/pinball/pinball.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/games/pinball/pinball.SlackBuild b/games/pinball/pinball.SlackBuild index 88b4f35896..967b5d1eb6 100644 --- a/games/pinball/pinball.SlackBuild +++ b/games/pinball/pinball.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pinball -# Copyright 2015-2016, 2018 Hunter Sezen California, USA +# Copyright 2015-2016, 2018-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pinball VERSION=${VERSION:-0.3.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,9 +69,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Use a sys version of ltdl +# https://github.com/sergiomb2/pinball/pull/23 +# https://github.com/sergiomb2/pinball/commit/e3ac2b6addf31cb350f572e24794ef9f9535d566 patch -p1 < $CWD/pinball-0.3.4-sys-ltdl.patch +# Fix build issue with gettext-0.20. +# https://github.com/sergiomb2/pinball/pull/30 +patch -p1 < $CWD/gettext-version.patch + autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -87,11 +95,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL License.txt README \ +cp -a AUTHORS COPYING ChangeLog License.txt README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |