summaryrefslogtreecommitdiffstats
path: root/system/rar/rar.SlackBuild
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 /system/rar/rar.SlackBuild
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>
Diffstat (limited to 'system/rar/rar.SlackBuild')
-rw-r--r--system/rar/rar.SlackBuild11
1 files changed, 5 insertions, 6 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