summaryrefslogtreecommitdiffstats
path: root/games/redeclipse/redeclipse.SlackBuild
diff options
context:
space:
mode:
author Erik Falor2015-03-27 11:46:20 +0100
committer Willy Sudiarto Raharjo2015-03-27 20:22:07 +0100
commitdf85d4fcc7bbb1ab227b9dc22656e96fe0dd8581 (patch)
treed2c35a4677992b08bb50f45df34e2466c5fcf77e /games/redeclipse/redeclipse.SlackBuild
parent08bf496cb213d1c2042e559c8695e8bbbfebbc5e (diff)
downloadslackbuilds-df85d4fcc7bbb1ab227b9dc22656e96fe0dd8581.tar.gz
games/redeclipse: Updated for version 1.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/redeclipse/redeclipse.SlackBuild')
-rw-r--r--games/redeclipse/redeclipse.SlackBuild15
1 files changed, 8 insertions, 7 deletions
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/*