diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:43 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 19:44:43 +0200 |
commit | 9ddf6c87b982b78edd2c3413d685ab31305e7bee (patch) | |
tree | fe498929d2109a2e867c97b2dde30dd2c0cd7ead /games/tuxpuck/tuxpuck.SlackBuild | |
parent | e3986f187e454d93409fa3cf2b2f8f7e0be4747d (diff) | |
download | slackbuilds-9ddf6c87b982b78edd2c3413d685ab31305e7bee.tar.gz |
games/tuxpuck: Updated for version 0.8.2
Diffstat (limited to 'games/tuxpuck/tuxpuck.SlackBuild')
-rw-r--r-- | games/tuxpuck/tuxpuck.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/tuxpuck/tuxpuck.SlackBuild b/games/tuxpuck/tuxpuck.SlackBuild index 6a8b739199..3493bcd53b 100644 --- a/games/tuxpuck/tuxpuck.SlackBuild +++ b/games/tuxpuck/tuxpuck.SlackBuild @@ -10,7 +10,7 @@ VERSION=0.8.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} @@ -33,8 +33,10 @@ chmod -R u+w,go+r-w,a-s . 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/$PRGNAM-$VERSION cp COPYING readme.txt $PKG/usr/doc/$PRGNAM-$VERSION |