From 3b295623cc1c159049ba7673fbaa61d89d545767 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sat, 29 Sep 2012 17:09:51 -0400 Subject: games/blobwars: Fixed (Handle icon files) Signed-off-by: dsomero --- games/blobwars/blobwars.SlackBuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'games/blobwars/blobwars.SlackBuild') diff --git a/games/blobwars/blobwars.SlackBuild b/games/blobwars/blobwars.SlackBuild index 102d1a8498d81..37a83d095e820 100644 --- a/games/blobwars/blobwars.SlackBuild +++ b/games/blobwars/blobwars.SlackBuild @@ -5,15 +5,13 @@ PRGNAM=blobwars VERSION=${VERSION:-1.19} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -37,7 +35,8 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -62,7 +61,6 @@ sed -i 's/share\/doc/doc/' makefile RELEASE=1 make make install DESTDIR=$PKG -# Strip binaries and libraries find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -70,11 +68,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# Copy the slack-desc and doinst.sh into ./install mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -# Make the package; be sure to leave it in $OUTPUT cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3