diff options
Diffstat (limited to 'system/unrar')
-rw-r--r-- | system/unrar/unrar.SlackBuild | 18 | ||||
-rw-r--r-- | system/unrar/unrar.info | 10 |
2 files changed, 13 insertions, 15 deletions
diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild index 26b72986b83c7..94a857f450d65 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 diff --git a/system/unrar/unrar.info b/system/unrar/unrar.info index 534a77a4694fc..596f2d87e6805 100644 --- a/system/unrar/unrar.info +++ b/system/unrar/unrar.info @@ -1,10 +1,10 @@ PRGNAM="unrar" -VERSION="4.2.4" +VERSION="5.0.0" HOMEPAGE="http://www.rarlab.com" -DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-4.2.4.tar.gz" -MD5SUM="8ea9d1b4139474b282d76e627a2de3e4" +DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-5.0.0.tar.gz" +MD5SUM="af762aac08d997258843bad6b524d9f8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="mario" -EMAIL="mario@slackverse.org" +MAINTAINER="Mario Preksavec" +EMAIL="mario at slackware dot hr" |