diff options
author | Mario Preksavec <mario at slackware dot hr> | 2013-11-11 16:35:44 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-12 01:25:00 -0600 |
commit | 9593efac5d98d1d0376c09a16aea926601cd0d80 (patch) | |
tree | 681541af5a9737c9d5bad448f1258fc2f047d46b /system/unrar/unrar.SlackBuild | |
parent | 218b265f7cae0032a7fb8a2b200ba1bcb489727d (diff) | |
download | slackbuilds-9593efac5d98d1d0376c09a16aea926601cd0d80.tar.gz |
system/unrar: Updated for version 5.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/unrar/unrar.SlackBuild')
-rw-r--r-- | system/unrar/unrar.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild index 26b72986b8..94a857f450 100644 --- a/system/unrar/unrar.SlackBuild +++ b/system/unrar/unrar.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for unrar -# Copyright 2011-2013, mario <mario@slackverse.org> +# 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 |