From 671a57a8947b403c8e044f33c24630546c545ee4 Mon Sep 17 00:00:00 2001 From: Martin Lefebvre Date: Tue, 11 May 2010 19:44:26 +0200 Subject: games/bzflag: Updated for version 2.0.8 --- games/bzflag/bzflag.SlackBuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'games/bzflag/bzflag.SlackBuild') diff --git a/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild index bedb8356bdfc7..d5545dd5fe63e 100644 --- a/games/bzflag/bzflag.SlackBuild +++ b/games/bzflag/bzflag.SlackBuild @@ -29,7 +29,7 @@ VERSION=2.0.8 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -46,7 +46,6 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 - chown -R root:root . chmod -R a-s,u+w,go+r-w . @@ -65,9 +64,7 @@ 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 - gzip -9 $PKG/usr/man/man?/* -fi +gzip -9 $PKG/usr/man/man?/* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS BUGS COPYING ChangeLog DEVINFO INSTALL NEWS PORTING README* \ -- cgit v1.2.3