summaryrefslogtreecommitdiff
path: root/development/splint/splint.SlackBuild
diff options
context:
space:
mode:
authorMenno E. Duursma <druiloor@zonnet.nl>2010-05-11 19:44:21 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:21 +0200
commit7c28611eedfb77b534c44cdae332d4ff86eba28d (patch)
treea184d903ab85ecc160feb97b32844fd92bc27e3b /development/splint/splint.SlackBuild
parentc7b6e08994256868d9e7e85048988f8ccf03761d (diff)
downloadslackbuilds-7c28611eedfb77b534c44cdae332d4ff86eba28d.tar.gz
development/splint: Updated for version 3.1.1
Diffstat (limited to 'development/splint/splint.SlackBuild')
-rw-r--r--development/splint/splint.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild
index 09490ffa01..564f182b76 100644
--- a/development/splint/splint.SlackBuild
+++ b/development/splint/splint.SlackBuild
@@ -9,7 +9,7 @@ VERSION=3.1.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -45,17 +45,10 @@ make install DESTDIR=$PKG || exit 1
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
-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
-
-if [ -d $PKG/usr/info ]; then
- gzip -9 $PKG/usr/info/*.info
- rm -f $PKG/usr/info/dir
-fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp README $PKG/usr/doc/$PRGNAM-$VERSION