From 88bf868662200896e9fd2217fbd6360818d52b67 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Tue, 11 May 2010 19:44:27 +0200 Subject: games/crack-attack: Updated for version 1.1.14 --- games/crack-attack/README | 1 - games/crack-attack/crack-attack.SlackBuild | 18 ++++++------------ games/crack-attack/crack-attack.info | 4 ++-- games/crack-attack/slack-desc | 8 ++++++++ 4 files changed, 16 insertions(+), 15 deletions(-) (limited to 'games/crack-attack') diff --git a/games/crack-attack/README b/games/crack-attack/README index 45022dfc75a6..beea992359f0 100644 --- a/games/crack-attack/README +++ b/games/crack-attack/README @@ -1,3 +1,2 @@ Crack Attack! is a fast-paced puzzle game inspired by the classic Super NES title Tetris Attack! - diff --git a/games/crack-attack/crack-attack.SlackBuild b/games/crack-attack/crack-attack.SlackBuild index 620398cb5bb8..ad11028d7971 100644 --- a/games/crack-attack/crack-attack.SlackBuild +++ b/games/crack-attack/crack-attack.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Crack Attack! -# Copyright 2007 MagicMan +# Copyright 2007 Frank Caraballo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,15 +22,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -if [ "$(id -u)" != "0" ]; then - echo "This script must be run as root!" - exit 1 -fi - PRGNAM=crack-attack VERSION=1.1.14 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -51,13 +46,12 @@ cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1 cd $PRGNAM-$VERSION || exit 1 - -# Apply crack-attack.desktop.diff patch: -cat $CWD/$PRGNAM.desktop.diff | patch -p0 --verbose || exit 1 - chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Apply crack-attack.desktop.diff patch: +patch -p0 < $CWD/$PRGNAM.desktop.diff || exit 1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -71,7 +65,7 @@ make install-strip DESTDIR=$PKG || exit 1 ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/games/crack-attack/crack-attack.info b/games/crack-attack/crack-attack.info index c4e7c3c784ac..94b69929a6ee 100644 --- a/games/crack-attack/crack-attack.info +++ b/games/crack-attack/crack-attack.info @@ -3,6 +3,6 @@ VERSION="1.1.14" HOMEPAGE="http://www.nongnu.org/crack-attack/" DOWNLOAD="http://savannah.nongnu.org/download/crack-attack/crack-attack-1.1.14.tar.bz2" MD5SUM="77bfcb38a293e87fd0d0eab05bae8177" -MAINTAINER="MagicMan" -EMAIL="MagicMan07@bluebottle.com" +MAINTAINER="Frank Caraballo" +EMAIL="fecaraballo[AT]gmail.com" APPROVED="BP{k}" diff --git a/games/crack-attack/slack-desc b/games/crack-attack/slack-desc index 0d843bdb21e6..10488afa4c67 100644 --- a/games/crack-attack/slack-desc +++ b/games/crack-attack/slack-desc @@ -1,3 +1,11 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| crack-attack: Crack Attack! (Fast-paced Puzzle Game) crack-attack: crack-attack: Crack Attack! is a fast-paced puzzle game inspired by the -- cgit v1.2.3