summaryrefslogtreecommitdiff
path: root/system/unrar
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-11 19:46:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:44 +0200
commit00e83466efcbdde7c62e40483e3f2691dfdcd13a (patch)
tree53e3dbbc91a4c4c865afa8f348c2121a8d92c37c /system/unrar
parent611b801ab3cf163b30b835cba490667ca5c4dbcb (diff)
downloadslackbuilds-00e83466efcbdde7c62e40483e3f2691dfdcd13a.tar.gz
system/unrar: Updated for version 3.7.8
Diffstat (limited to 'system/unrar')
-rw-r--r--system/unrar/unrar.SlackBuild14
-rw-r--r--system/unrar/unrar.info6
2 files changed, 9 insertions, 11 deletions
diff --git a/system/unrar/unrar.SlackBuild b/system/unrar/unrar.SlackBuild
index f2489f4e62..cbbe93cf60 100644
--- a/system/unrar/unrar.SlackBuild
+++ b/system/unrar/unrar.SlackBuild
@@ -22,13 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated by Andrew Brouwers for Slackware 12 <abrouwers@gmail.com>
+# Updated by Andrew Brouwers
PRGNAM=unrar
-VERSION=3.7.6
+VERSION=3.7.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -55,7 +56,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/${PRGNAM}src-$VERSION.tar.gz || exit 1
+tar xvf $CWD/${PRGNAM}src-$VERSION.tar.gz || exit 1
mv $PRGNAM $PRGNAM-$VERSION || exit 1
cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
@@ -67,12 +68,9 @@ sed -i "s/-O2/$CFLAGS/" makefile.unix
make -f makefile.unix || exit 1
install -D -m 755 unrar $PKG/usr/bin/unrar || exit 1
-install -D -m 644 $CWD/unrar.1.gz $PKG/usr/man/man1/unrar.1.gz || exit 1
+strip --strip-unneeded $PKG/usr/bin/unrar
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+install -D -m 644 $CWD/unrar.1.gz $PKG/usr/man/man1/unrar.1.gz || exit 1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/unrar/unrar.info b/system/unrar/unrar.info
index 7dbd9a12c2..9295074601 100644
--- a/system/unrar/unrar.info
+++ b/system/unrar/unrar.info
@@ -1,8 +1,8 @@
PRGNAM="unrar"
-VERSION="3.7.6"
+VERSION="3.7.8"
HOMEPAGE="http://www.rarlab.com"
-DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-3.7.6.tar.gz"
-MD5SUM="c6e1ae41bc140d47f4608c1ab5f01802"
+DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-3.7.8.tar.gz"
+MD5SUM="b783f1932bc0c73902c6399f7c2c6f43"
MAINTAINER="Yalla-One"
EMAIL="yallaone@gmail.com"
APPROVED="rworkman"