summaryrefslogtreecommitdiff
path: root/libraries/giblib/giblib.SlackBuild
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 19:44:58 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:58 +0200
commitb6ad3720abb898fb2abe3cb5a1d5b9a76ea56b3b (patch)
tree167b752395044064e3cfc3cb072718fdbe169a2d /libraries/giblib/giblib.SlackBuild
parente0c0ea0e65faf3b820f67e7c93cb6a39a4760a01 (diff)
downloadslackbuilds-b6ad3720abb898fb2abe3cb5a1d5b9a76ea56b3b.tar.gz
libraries/giblib: Updated for version 1.2.4
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