summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo[AT]gmail.com>2010-05-11 19:44:27 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 19:44:27 +0200
commit88bf868662200896e9fd2217fbd6360818d52b67 (patch)
treebc666c3e8e3b9618fa105dba80c6507e1fc1a5e3 /games
parent671a57a8947b403c8e044f33c24630546c545ee4 (diff)
downloadslackbuilds-88bf868662200896e9fd2217fbd6360818d52b67.tar.gz
games/crack-attack: Updated for version 1.1.14
Diffstat (limited to 'games')
-rw-r--r--games/crack-attack/README1
-rw-r--r--games/crack-attack/crack-attack.SlackBuild18
-rw-r--r--games/crack-attack/crack-attack.info4
-rw-r--r--games/crack-attack/slack-desc8
4 files changed, 16 insertions, 15 deletions
diff --git a/games/crack-attack/README b/games/crack-attack/README
index 45022dfc75..beea992359 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 620398cb5b..ad11028d79 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 <MagicMan07@bluebottle.com>
+# Copyright 2007 Frank Caraballo <fecaraballo[AT]gmail.com>
# 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 c4e7c3c784..94b69929a6 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 0d843bdb21..10488afa4c 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