diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 19:44:26 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 19:44:26 +0200 |
commit | 671a57a8947b403c8e044f33c24630546c545ee4 (patch) | |
tree | cdd514094a7a9473424d9f4f0d6a7df8d3fb61a6 /games/bzflag/bzflag.SlackBuild | |
parent | 184b47234ccd6dfac5fc5dfd2546a14ee3e0d30e (diff) | |
download | slackbuilds-671a57a8947b403c8e044f33c24630546c545ee4.tar.gz |
games/bzflag: Updated for version 2.0.8
Diffstat (limited to 'games/bzflag/bzflag.SlackBuild')
-rw-r--r-- | games/bzflag/bzflag.SlackBuild | 7 |
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* \ |