summaryrefslogtreecommitdiff
path: root/games/tuxpuck/tuxpuck.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:43 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:43 +0200
commit9ddf6c87b982b78edd2c3413d685ab31305e7bee (patch)
treefe498929d2109a2e867c97b2dde30dd2c0cd7ead /games/tuxpuck/tuxpuck.SlackBuild
parente3986f187e454d93409fa3cf2b2f8f7e0be4747d (diff)
downloadslackbuilds-9ddf6c87b982b78edd2c3413d685ab31305e7bee.tar.gz
games/tuxpuck: Updated for version 0.8.2
Diffstat (limited to 'games/tuxpuck/tuxpuck.SlackBuild')
-rw-r--r--games/tuxpuck/tuxpuck.SlackBuild8
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