diff options
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 |