diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:25 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:25 +0200 |
commit | 184b47234ccd6dfac5fc5dfd2546a14ee3e0d30e (patch) | |
tree | 3b600ff898800a2aff76f0568e0edae2e2252523 /games/brutalchess/brutalchess.SlackBuild | |
parent | 4df5cc6b8557014fc5de236bc29c5f101fd7264e (diff) | |
download | slackbuilds-184b47234ccd6dfac5fc5dfd2546a14ee3e0d30e.tar.gz |
games/brutalchess: Updated for version 0.5.2
Diffstat (limited to 'games/brutalchess/brutalchess.SlackBuild')
-rw-r--r-- | games/brutalchess/brutalchess.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild index b010060784..d2d9c96cf2 100644 --- a/games/brutalchess/brutalchess.SlackBuild +++ b/games/brutalchess/brutalchess.SlackBuild @@ -8,7 +8,7 @@ VERSION=0.5.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -42,8 +42,10 @@ CFLAGS="$SLKCFLAGS" \ make || exit 1 make install DESTDIR=$PKG || exit 1 -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) mkdir -p $PKG/usr/doc mv $PKG/usr/share/brutalchess/doc $PKG/usr/doc/$PRGNAM-$VERSION |