summaryrefslogtreecommitdiff
path: root/system/rar/rar.SlackBuild
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 /system/rar/rar.SlackBuild
parentfaf2a7e80e5f0eed88c31d717b6a462888aa252e (diff)
downloadslackbuilds-854968f642c9363b03bc429d9479849d5a5b1f18.tar.gz
system/rar: Updated for version 4.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/rar/rar.SlackBuild')
-rw-r--r--system/rar/rar.SlackBuild8
1 files changed, 6 insertions, 2 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