From 295ae40e04df2fc78d1796475fe48fe2c9c6e4fa Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Thu, 7 Aug 2014 09:44:25 +0700 Subject: games/supertuxkart: Updated for version 0.8.1 + new maintainer. Signed-off-by: Willy Sudiarto Raharjo --- games/supertuxkart/supertuxkart.SlackBuild | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'games/supertuxkart/supertuxkart.SlackBuild') diff --git a/games/supertuxkart/supertuxkart.SlackBuild b/games/supertuxkart/supertuxkart.SlackBuild index f917067912372..be7421a2aea8d 100644 --- a/games/supertuxkart/supertuxkart.SlackBuild +++ b/games/supertuxkart/supertuxkart.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for supertuxkart +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Copyright 2009-2011 Larry Hajali # Copyright 2011-2013 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. @@ -23,10 +25,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# revision date: 2013/03/28 - PRGNAM=supertuxkart -VERSION=${VERSION:-0.8} +VERSION=${VERSION:-0.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,15 +69,10 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2 cd $UNTARRED-$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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# The Makefile's don't respect directory variables given to configure. -# Let's fix that with a few other additional cleanups. -patch -p1 < $CWD/translations.patch -sed -i 's|\/games|\/bin|g' data/${PRGNAM}_desktop.template + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -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 {} \; # First build the Irrlicht (static) library. # Note: This is a forked, modfied copy of irrlicht-1.8 @@ -102,7 +97,7 @@ cd build make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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/man/man6 -- cgit v1.2.3