From 9cbb7271b0be15874e518fec05729d299a71b4c7 Mon Sep 17 00:00:00 2001 From: Yalla-One Date: Tue, 11 May 2010 19:46:21 +0200 Subject: system/cabextract: Updated for version 1.2 --- system/cabextract/cabextract.SlackBuild | 15 ++++++--------- system/cabextract/cabextract.info | 2 +- system/cabextract/slack-desc | 8 ++++++++ 3 files changed, 15 insertions(+), 10 deletions(-) (limited to 'system') diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild index 685b2cfe19..ee42046025 100644 --- a/system/cabextract/cabextract.SlackBuild +++ b/system/cabextract/cabextract.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cabextract -# Copyright 2006 Halim Issa +# Copyright 2006 Yalla-One # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,14 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified by the SlackBuilds.org project - PRGNAM=cabextract VERSION=1.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -58,9 +56,8 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 cd $PRGNAM-$VERSION || exit 1 - -chown -R root:root . -chmod -R a-s,u+w,go+r-w . +chown -R root.root . +chmod -R a-s,u+rw,go+r-w . CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -80,12 +77,12 @@ make install DESTDIR=$PKG || exit 1 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/install diff --git a/system/cabextract/cabextract.info b/system/cabextract/cabextract.info index a23231a93a..90854c8110 100644 --- a/system/cabextract/cabextract.info +++ b/system/cabextract/cabextract.info @@ -5,4 +5,4 @@ DOWNLOAD="http://www.kyz.uklinux.net/downloads/cabextract-1.2.tar.gz" MD5SUM="dc421a690648b503265c82ade84e143e" MAINTAINER="Yalla-One" EMAIL="yallaone@gmail.com" -APPROVED="robw810" +APPROVED="rworkman" diff --git a/system/cabextract/slack-desc b/system/cabextract/slack-desc index 469c9160c2..1fe26aa3da 100644 --- a/system/cabextract/slack-desc +++ b/system/cabextract/slack-desc @@ -1,3 +1,11 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| cabextract: cabextract (Extract Microsoft cabinet files) cabextract: cabextract: cabextract is Free Software for extracting Microsoft cabinet files, -- cgit v1.2.3