aboutsummaryrefslogtreecommitdiff
path: root/system/cabextract/cabextract.SlackBuild
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-11 19:46:21 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:21 +0200
commit9cbb7271b0be15874e518fec05729d299a71b4c7 (patch)
treeb1c8400e3ab946da0ecdbd4912a5995b1d92f7f1 /system/cabextract/cabextract.SlackBuild
parent1927bf1e1c50fca99060700e4fadd05d287d3bf6 (diff)
system/cabextract: Updated for version 1.2
Diffstat (limited to 'system/cabextract/cabextract.SlackBuild')
-rw-r--r--system/cabextract/cabextract.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/system/cabextract/cabextract.SlackBuild b/system/cabextract/cabextract.SlackBuild
index 685b2cfe1997..ee4204602553 100644
--- a/system/cabextract/cabextract.SlackBuild
+++ b/system/cabextract/cabextract.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cabextract
-# Copyright 2006 Halim Issa <yallaone@gmail.com>
+# Copyright 2006 Yalla-One <yallaone@gmail.com>
# 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