summaryrefslogtreecommitdiff
path: root/system/unrar/unrar.SlackBuild
diff options
context:
space:
mode:
authorNiklas 'Nille' Åkerström <nille.kungen[AT]gmail.com>2011-01-05 07:19:28 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-01-10 15:04:21 -0600
commitedb1b3fcd0f621fe06d38f85229aa0cddc0d69fe (patch)
treeb3938593a77a95483666fa5d8e0f5662e5df572b /system/unrar/unrar.SlackBuild
parent46c919a2bca7b0d27d74fe9f4362d3273e509d14 (diff)
downloadslackbuilds-edb1b3fcd0f621fe06d38f85229aa0cddc0d69fe.tar.gz
system/unrar: Updated for version 4.0.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/unrar/unrar.SlackBuild')
-rw-r--r--system/unrar/unrar.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild
index 1275e3175e..d2b18c9557 100644
--- a/system/unrar/unrar.SlackBuild
+++ b/system/unrar/unrar.SlackBuild
@@ -23,18 +23,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Updated by Andrew Brouwers
+# Updated by Niklas 'Nille' Åkerström
PRGNAM=unrar
-VERSION=3.9.7
+VERSION=4.0.3
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
@@ -51,12 +50,10 @@ case "$ARCH" in
;;
i686) SLKCFLAGS="-O2 -march=i686 -mtune=i686"
;;
- s390) SLKCFLAGS="-O2"
- ;;
- powerpc) SLKCFLAGS="-O2"
- ;;
x86_64) SLKCFLAGS="-O2 -fPIC"
;;
+ *) SLKCFLAGS="-O2"
+ ;;
esac
set -e