summaryrefslogtreecommitdiff
path: root/games/bzflag/bzflag.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/bzflag/bzflag.SlackBuild')
-rw-r--r--games/bzflag/bzflag.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild
index bedb8356bd..d5545dd5fe 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* \