aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/rar/rar.SlackBuild8
-rw-r--r--system/rar/rar.info10
2 files changed, 11 insertions, 7 deletions
diff --git a/system/rar/rar.SlackBuild b/system/rar/rar.SlackBuild
index a35cf92ccf2b7..e84e0c1caf703 100644
--- a/system/rar/rar.SlackBuild
+++ b/system/rar/rar.SlackBuild
@@ -6,7 +6,7 @@
# Modifed for new rar version with x64 support by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
PRGNAM=rar
-VERSION=${VERSION:-4.0.b3}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,11 @@ cd $TMP
tar xvf $CWD/${PRGNAM}linux-$x64FIX$VERSION.tar.gz
cd $PRGNAM
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+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 {} \;
mkdir -p $PKG/usr/bin
install -m 0755 rar $PKG/usr/bin
diff --git a/system/rar/rar.info b/system/rar/rar.info
index 286670f0823e4..e4d81fcff8afc 100644
--- a/system/rar/rar.info
+++ b/system/rar/rar.info
@@ -1,10 +1,10 @@
PRGNAM="rar"
-VERSION="4.0.b3"
+VERSION="4.0.0"
HOMEPAGE="http://www.rarlab.com/"
-DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.b3.tar.gz"
-MD5SUM="d75306cfd9aaa4b2c61df46b8ee4784b"
-DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.b3.tar.gz"
-MD5SUM_x86_64="2e0cbf932eaf77d82a13637ebf2cb372"
+DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.0.tar.gz"
+MD5SUM="0065929075c449600e2354b95501af03"
+DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.0.tar.gz"
+MD5SUM_x86_64="4f697fa6dc73f5e8400896c14ab81d75"
MAINTAINER="Steven Pledger"
EMAIL="spledger91@yahoo.com"
APPROVED="rworkman"