summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Pledger <spledger91@yahoo.com>2011-05-10 10:48:54 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-10 10:48:54 -0500
commit854968f642c9363b03bc429d9479849d5a5b1f18 (patch)
treeec6f63ebd81bac1acbe8528e7515f4538d4b9a43
parentfaf2a7e80e5f0eed88c31d717b6a462888aa252e (diff)
downloadslackbuilds-854968f642c9363b03bc429d9479849d5a5b1f18.tar.gz
system/rar: Updated for version 4.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 a35cf92ccf..e84e0c1caf 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 286670f082..e4d81fcff8 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"