From 9593efac5d98d1d0376c09a16aea926601cd0d80 Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Mon, 11 Nov 2013 16:35:44 -0600 Subject: system/unrar: Updated for version 5.0.0. Signed-off-by: Robby Workman --- system/unrar/unrar.SlackBuild | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'system/unrar/unrar.SlackBuild') diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild index 26b72986b83c..94a857f450d6 100644 --- a/system/unrar/unrar.SlackBuild +++ b/system/unrar/unrar.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for unrar -# Copyright 2011-2013, mario +# Copyright 2010-2013 Mario Preksavec, Zagreb, HR # 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=unrar -VERSION=${VERSION:-4.2.4} +VERSION=${VERSION:-5.0.0} 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 @@ -65,13 +63,13 @@ rm -rf $PRGNAM tar xvf $CWD/${PRGNAM}src-$VERSION.tar.gz cd $PRGNAM chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -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 {} \; +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -make CXXFLAGS="$SLKCFLAGS" -f makefile.unix unrar lib +make CXXFLAGS="$SLKCFLAGS" -f makefile unrar lib install -D -m 755 unrar $PKG/usr/bin/unrar install -D -m 644 libunrar.so $PKG/usr/lib${LIBDIRSUFFIX}/libunrar.so -- cgit v1.2.3