summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Steven Pledger <spledger91@yahoo.com>2011-06-01 00:22:05 -0400
committer Robby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:41 -0400
commit10681c96c7261d6a8cd4a05fd4c7f21b87945ae3 (patch)
tree553b67b96f3acadd20937bff8e19c5dc12fda231
parente0f1190fbfdc7c2b02112c13210a12f578aaf265 (diff)
downloadslackbuilds-10681c96c7261d6a8cd4a05fd4c7f21b87945ae3.tar.gz
slackbuilds-10681c96c7261d6a8cd4a05fd4c7f21b87945ae3.tar.xz
system/rar: Updated for version 4.0.1b1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--system/rar/rar.SlackBuild11
-rw-r--r--system/rar/rar.info12
2 files changed, 11 insertions, 12 deletions
diff --git a/system/rar/rar.SlackBuild b/system/rar/rar.SlackBuild
index e84e0c1caf..d2cf6ae5b3 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.0}
+VERSION=${VERSION:-4.0.1b1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -21,9 +21,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Since the tarball also contains an unrar binary,
-# I've added an option to include it in the package.
-UNRAR=${UNRAR:-no}
+# Include unrar in the package
+UNRAR=${UNRAR:-no} # disabled by default since unrar is available on SBo
set -e
@@ -35,7 +34,7 @@ elif [ "$ARCH" = "i386" ]; then
LIBDIRSUFFIX=""
else
printf "\n$ARCH is not supported...\n\n" ; exit 1
-fi
+fi
rm -rf $TMP/$PRGNAM $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -62,7 +61,7 @@ fi
mkdir -p $PKG/etc
cat rarfiles.lst > $PKG/etc/rarfiles.lst.new
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/rar/rar.info b/system/rar/rar.info
index e4d81fcff8..924e883ff0 100644
--- a/system/rar/rar.info
+++ b/system/rar/rar.info
@@ -1,10 +1,10 @@
PRGNAM="rar"
-VERSION="4.0.0"
+VERSION="4.0.1b1"
HOMEPAGE="http://www.rarlab.com/"
-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"
+DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.1b1.tar.gz"
+MD5SUM="8f10aeb179b4c2e9a31bf08c8a7b40f7"
+DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.1b1.tar.gz"
+MD5SUM_x86_64="2c3dd9b2894f1a9351198209ff3ad581"
MAINTAINER="Steven Pledger"
EMAIL="spledger91@yahoo.com"
-APPROVED="rworkman"
+APPROVED="dsomero"