From df85d4fcc7bbb1ab227b9dc22656e96fe0dd8581 Mon Sep 17 00:00:00 2001 From: Erik Falor Date: Fri, 27 Mar 2015 17:46:20 +0700 Subject: games/redeclipse: Updated for version 1.5. Signed-off-by: Willy Sudiarto Raharjo --- games/redeclipse/redeclipse.SlackBuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'games/redeclipse/redeclipse.SlackBuild') diff --git a/games/redeclipse/redeclipse.SlackBuild b/games/redeclipse/redeclipse.SlackBuild index 38d02faf6f..0de07f6c4b 100644 --- a/games/redeclipse/redeclipse.SlackBuild +++ b/games/redeclipse/redeclipse.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Red Eclipse -# Copyright 2013 Erik Falor USA +# Copyright 2015 Erik Falor USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=redeclipse -VERSION=${VERSION:-1.4} +VERSION=${VERSION:-1.5} +SRCVER="7e7aba44e58a90f256321e5a7cb4879b" BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,14 +61,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/${PRGNAM}_${VERSION}_nix.tar.bz2 +tar xvf $CWD/${PRGNAM}_${VERSION}_nix.tar.bz2 || tar xvf $CWD/$SRCVER 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 {} \; # remove the pre-built binaries rm -rf bin/* -- cgit v1.2.3