summaryrefslogtreecommitdiffstats
path: root/games/redeclipse/redeclipse.SlackBuild
diff options
context:
space:
mode:
author Erik Falor2013-04-24 02:47:16 +0200
committer Niels Horn2013-04-28 17:28:11 +0200
commita7123908de9c3623c13a9c5b6a975e32f63b3328 (patch)
tree0f38550aa9f5f51b9060d4261fe077a4cf31da4b /games/redeclipse/redeclipse.SlackBuild
parenta5978813a811c429f5e32405d8fd1a2738a1ca45 (diff)
downloadslackbuilds-a7123908de9c3623c13a9c5b6a975e32f63b3328.tar.gz
games/redeclipse: Updated for version 1.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/redeclipse/redeclipse.SlackBuild')
-rw-r--r--games/redeclipse/redeclipse.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/redeclipse/redeclipse.SlackBuild b/games/redeclipse/redeclipse.SlackBuild
index 5ea869cdec..ceaa94ca5d 100644
--- a/games/redeclipse/redeclipse.SlackBuild
+++ b/games/redeclipse/redeclipse.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Red Eclipse
-# Copyright 2012 Erik Falor USA
+# Copyright 2013 Erik Falor USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=redeclipse
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -61,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-tar xvf $CWD/${PRGNAM}_${VERSION}_nix_bsd.tar.bz2
-cd $PRGNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_${VERSION}_nix.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,7 +70,7 @@ find . \
-exec chmod 644 {} \;
# remove the pre-built binaries
-rm -f bin/* bin64/*
+rm -rf bin/*
# Compile the application using custom SLKCFLAGS
(