aboutsummaryrefslogtreecommitdiff
path: root/system/unrar/unrar.SlackBuild
diff options
context:
space:
mode:
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 1275e3175e6b7..d2b18c9557364 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