diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2015-05-20 20:24:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-20 20:24:50 +0700 |
commit | 4c4b36ede4cb24ecd6605ef8297f8e4c9b6513fc (patch) | |
tree | 426de2b01b36518861d5e4d57bfec00597471533 /games | |
parent | eec1412f000a493165f1376bbe61560a4f749d44 (diff) |
games/blobwars: Make game more child friendly.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/blobwars/README | 3 | ||||
-rw-r--r-- | games/blobwars/blobwars.SlackBuild | 14 | ||||
-rw-r--r-- | games/blobwars/blobwars.info | 4 |
3 files changed, 11 insertions, 10 deletions
diff --git a/games/blobwars/README b/games/blobwars/README index 260f86d21444..c49747f8fc86 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 6a6a77ad6de1..fa1f4a88758a 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 601eddd3611d..f5b7eaa11ff1 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" |