From 4c4b36ede4cb24ecd6605ef8297f8e4c9b6513fc Mon Sep 17 00:00:00 2001 From: Tim Dickson Date: Wed, 20 May 2015 20:24:50 +0700 Subject: games/blobwars: Make game more child friendly. Signed-off-by: Willy Sudiarto Raharjo --- games/blobwars/README | 3 +-- games/blobwars/blobwars.SlackBuild | 14 ++++++++------ games/blobwars/blobwars.info | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'games') diff --git a/games/blobwars/README b/games/blobwars/README index 260f86d214..c49747f8fc 100644 --- a/games/blobwars/README +++ b/games/blobwars/README @@ -6,7 +6,6 @@ collect things you missed earlier. The program is GPL and the data (graphics etc) is free for use with this program but not free for any other use. The game depends on SDL, SDL_image, -SDL_mixer, SDL_TTF, and FreeType. All dependancies are included in slackware -12.2/13 in the SDL and freetype packages. +SDL_mixer, SDL_TTF, and FreeType. This game is produced by parallelrealities.co.uk diff --git a/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild index 6a6a77ad6d..fa1f4a8875 100644 --- a/games/blobwars/blobwars.SlackBuild +++ b/games/blobwars/blobwars.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=blobwars VERSION=${VERSION:-1.19} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -45,15 +45,17 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; if [ "$ARCH" = "x86_64" ]; then sed -i -e 's/-g games//' -e 's/-Werror//' makefile fi +#make new game default more child friendly +sed -i 's/gore = 1/gore = 0/' src/CGame.cpp # Fix doc installation path sed -i 's/share\/doc/doc/' makefile @@ -61,7 +63,7 @@ sed -i 's/share\/doc/doc/' makefile RELEASE=1 make make install DESTDIR=$PKG -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 # Also, include the SlackBuild script in the documentation directory diff --git a/games/blobwars/blobwars.info b/games/blobwars/blobwars.info index 601eddd361..f5b7eaa11f 100644 --- a/games/blobwars/blobwars.info +++ b/games/blobwars/blobwars.info @@ -6,5 +6,5 @@ MD5SUM="87e8aaa114b6e4742ea6ee28e7a7f984" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Tim Dickson (timsoft)" -EMAIL="tim@tree-of-life.co.uk" +MAINTAINER="Tim Dickson" +EMAIL="dickson.tim@googlemail.com" -- cgit v1.2.3