summaryrefslogtreecommitdiff
path: root/libraries/giblib/giblib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/giblib/giblib.SlackBuild')
-rw-r--r--libraries/giblib/giblib.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/libraries/giblib/giblib.SlackBuild b/libraries/giblib/giblib.SlackBuild
index 091fe84bf4..0d22d93284 100644
--- a/libraries/giblib/giblib.SlackBuild
+++ b/libraries/giblib/giblib.SlackBuild
@@ -2,14 +2,13 @@
# Slackware build script for giblib
# Written by Chess Griffin <chess at chessgriffin dot com>
-# Modified by the SlackBuilds.org project
-PRGNAM=giblib
-VERSION=1.2.4
-ARCH=${ARCH:-i486}
+PRGNAM=giblib
+VERSION=1.2.4
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -26,7 +25,6 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
-
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -45,7 +43,7 @@ make install-strip DESTDIR=$PKG || exit 1
if [ -d $PKG/usr/man ]; then
( 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
)
fi