aboutsummaryrefslogtreecommitdiff
path: root/system/rar
diff options
context:
space:
mode:
authorSteven Pledger <spledger91@yahoo.com>2010-12-25 23:49:09 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:57 -0200
commitb58ae29f1c8787636a6fadc4241211a8d4c329fe (patch)
treefaf09ed94ff7e899820d8665cce23493d9c99116 /system/rar
parent05170d17e4f3208bd6f9e324af6f92f9309180de (diff)
system/rar: Updated for version 4.0.b3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/rar')
-rw-r--r--system/rar/README13
-rw-r--r--system/rar/rar.SlackBuild21
-rw-r--r--system/rar/rar.info14
-rw-r--r--system/rar/slack-desc8
4 files changed, 28 insertions, 28 deletions
diff --git a/system/rar/README b/system/rar/README
index f27961cb7ca6..f814018ae002 100644
--- a/system/rar/README
+++ b/system/rar/README
@@ -1,10 +1,7 @@
-rar is a command line utitility for creating RAR archives.
+Rar is a powerful tool for processing RAR archives.
-This SlackBuild repackages the official binary.
+This is a shareware program. If you would like to continue using RAR
+after 40 days, you will have to purchase a license. See license.txt
+in the docs directory for more details.
-This is a shareware program. If you would like to continue using RAR
-after 40 days, you will have to purchase a license. See license.txt in
-the docs directory for more details.
-
-To include unrar in the package, run the script like this:
-UNRAR=yes ./rar.SlackBuild
+To include unrar in the package, run the script with UNRAR=yes
diff --git a/system/rar/rar.SlackBuild b/system/rar/rar.SlackBuild
index bc88e8168403..a35cf92ccf2b 100644
--- a/system/rar/rar.SlackBuild
+++ b/system/rar/rar.SlackBuild
@@ -1,20 +1,21 @@
#!/bin/sh
# Slackware build script for rar
-# Written by Steven Pledger <piratesmack@ymail.com>
+# Written by Steven Pledger <spledger91@yahoo.com>
-# Changelog:
# Modifed for new rar version with x64 support by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
-# rev 3: updated to rar 3.9.1, added option to install unrar -steven
-# rev 4: updated to rar 3.9.2 -steven
-# rev 5: updated to rar 3.9.3 -steven
PRGNAM=rar
-VERSION=${VERSION:-3.9.3}
-ARCH=${ARCH:-i386}
+VERSION=${VERSION:-4.0.b3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+case "$( uname -m )" in
+ i?86) ARCH=i386 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+esac
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -29,9 +30,11 @@ set -e
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
x64FIX="x64-"
-else
+elif [ "$ARCH" = "i386" ]; then
ARCH=i386
LIBDIRSUFFIX=""
+else
+ printf "\n$ARCH is not supported...\n\n" ; exit 1
fi
rm -rf $TMP/$PRGNAM $PKG
@@ -48,7 +51,7 @@ install -m 0755 rar $PKG/usr/bin
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}
install -m 0755 default.sfx $PKG/usr/lib${LIBDIRSUFFIX}
-if [ "$UNRAR" = "yes" ]; then
+if [ "$UNRAR" != "no" ]; then
install -m 0755 unrar $PKG/usr/bin
fi
diff --git a/system/rar/rar.info b/system/rar/rar.info
index 6c471fa06871..286670f0823e 100644
--- a/system/rar/rar.info
+++ b/system/rar/rar.info
@@ -1,10 +1,10 @@
PRGNAM="rar"
-VERSION="3.9.3"
+VERSION="4.0.b3"
HOMEPAGE="http://www.rarlab.com/"
-DOWNLOAD="http://www.rarlab.com/rar/rarlinux-3.9.3.tar.gz"
-MD5SUM="4a9a8cf0612735e860f72bdd46c1a03e"
-DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-3.9.3.tar.gz"
-MD5SUM_x86_64="622e6aed2de89fd3871f43a2bef0a5c6"
+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"
MAINTAINER="Steven Pledger"
-EMAIL="piratesmack@ymail.com"
-APPROVED="Erik Hanson"
+EMAIL="spledger91@yahoo.com"
+APPROVED="rworkman"
diff --git a/system/rar/slack-desc b/system/rar/slack-desc
index 2c8cbf8b5cdf..da08a88930b4 100644
--- a/system/rar/slack-desc
+++ b/system/rar/slack-desc
@@ -6,14 +6,14 @@
# leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-rar: rar (creates rar archives)
+rar: rar (processes RAR files)
rar:
-rar: Create RAR archives in Linux.
+rar: Rar is a powerful tool for processing RAR archives.
rar:
rar: Homepage: http://www.rarlab.com
rar:
-rar: This is a Shareware Program. You must buy a license from Rar Labs if
-rar: you want to keep using rar.
+rar: This is a shareware program. You must buy a license
+rar: from Rar Labs if you want to keep using rar.
rar:
rar:
rar: