From 7c28611eedfb77b534c44cdae332d4ff86eba28d Mon Sep 17 00:00:00 2001 From: "Menno E. Duursma" Date: Tue, 11 May 2010 19:44:21 +0200 Subject: development/splint: Updated for version 3.1.1 --- development/splint/splint.SlackBuild | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'development/splint/splint.SlackBuild') 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 -- cgit v1.2.3