system/rar: Updated for version 4.0.1b1.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Steven Pledger 2011-06-01 00:22:05 -04:00 committed by Robby Workman
parent e0f1190fbf
commit 10681c96c7
2 changed files with 11 additions and 12 deletions

View file

@ -6,7 +6,7 @@
# Modifed for new rar version with x64 support by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com # Modifed for new rar version with x64 support by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
PRGNAM=rar PRGNAM=rar
VERSION=${VERSION:-4.0.0} VERSION=${VERSION:-4.0.1b1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -21,9 +21,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
# Since the tarball also contains an unrar binary, # Include unrar in the package
# I've added an option to include it in the package. UNRAR=${UNRAR:-no} # disabled by default since unrar is available on SBo
UNRAR=${UNRAR:-no}
set -e set -e
@ -35,7 +34,7 @@ elif [ "$ARCH" = "i386" ]; then
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
else else
printf "\n$ARCH is not supported...\n\n" ; exit 1 printf "\n$ARCH is not supported...\n\n" ; exit 1
fi fi
rm -rf $TMP/$PRGNAM $PKG rm -rf $TMP/$PRGNAM $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -62,7 +61,7 @@ fi
mkdir -p $PKG/etc mkdir -p $PKG/etc
cat rarfiles.lst > $PKG/etc/rarfiles.lst.new 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="rar" PRGNAM="rar"
VERSION="4.0.0" VERSION="4.0.1b1"
HOMEPAGE="http://www.rarlab.com/" HOMEPAGE="http://www.rarlab.com/"
DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.0.tar.gz" DOWNLOAD="http://www.rarlab.com/rar/rarlinux-4.0.1b1.tar.gz"
MD5SUM="0065929075c449600e2354b95501af03" MD5SUM="8f10aeb179b4c2e9a31bf08c8a7b40f7"
DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.0.tar.gz" DOWNLOAD_x86_64="http://www.rarlab.com/rar/rarlinux-x64-4.0.1b1.tar.gz"
MD5SUM_x86_64="4f697fa6dc73f5e8400896c14ab81d75" MD5SUM_x86_64="2c3dd9b2894f1a9351198209ff3ad581"
MAINTAINER="Steven Pledger" MAINTAINER="Steven Pledger"
EMAIL="spledger91@yahoo.com" EMAIL="spledger91@yahoo.com"
APPROVED="rworkman" APPROVED="dsomero"