aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/neverball/README1
-rw-r--r--games/neverball/neverball.SlackBuild20
-rw-r--r--games/neverball/neverball.info4
-rw-r--r--games/neverball/slack-desc8
4 files changed, 18 insertions, 15 deletions
diff --git a/games/neverball/README b/games/neverball/README
index 8945f0726bad4..15be26bfd7a02 100644
--- a/games/neverball/README
+++ b/games/neverball/README
@@ -3,4 +3,3 @@ time runs out. Neverball is part puzzle game, part action game,
and entirely a test of skill. Also found here is Neverputt, a
hot-seat multiplayer miniature golf game using the physics and
graphics of Neverball.
-
diff --git a/games/neverball/neverball.SlackBuild b/games/neverball/neverball.SlackBuild
index 19c5e89612d5d..8d2eae86a42d0 100644
--- a/games/neverball/neverball.SlackBuild
+++ b/games/neverball/neverball.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Neverball
-# 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,18 +22,13 @@
# 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=neverball
BONUS=neverputt
VERSION=1.4.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -52,13 +47,12 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM-$VERSION.tar.* || exit 1
cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
# Apply config.h.diff patch:
cat $CWD/config.h.diff | patch -p0 --verbose || exit 1
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
CFLAGS="$SLKCFLAGS" make || exit 1
mkdir -p $PKG/usr/{bin,share/{$PRGNAM,pixmaps}}
@@ -66,8 +60,10 @@ cp -a $PRGNAM $BONUS $PKG/usr/bin || exit 1
cp -a data $PKG/usr/share/$PRGNAM || exit 1
cp -a icon/* $PKG/usr/share/pixmaps || 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 -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/neverball/neverball.info b/games/neverball/neverball.info
index f6b353b42e7a7..85dbc18254694 100644
--- a/games/neverball/neverball.info
+++ b/games/neverball/neverball.info
@@ -3,6 +3,6 @@ VERSION="1.4.0"
HOMEPAGE="http://icculus.org/neverball/"
DOWNLOAD="http://icculus.org/neverball/neverball-1.4.0.tar.gz"
MD5SUM="a6cd860f1c2b7d8cecbcfc05ff228ef0"
-MAINTAINER="MagicMan"
-EMAIL="MagicMan07@bluebottle.com"
+MAINTAINER="Frank Caraballo"
+EMAIL="fecaraballo[AT]gmail.com"
APPROVED="BP{k},elohim"
diff --git a/games/neverball/slack-desc b/games/neverball/slack-desc
index 7e15309079b3c..3ec859a9c7705 100644
--- a/games/neverball/slack-desc
+++ b/games/neverball/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------------------------------------------------------|
neverball: Neverball (Puzzle & Action Game)
neverball:
neverball: Tilt the floor to roll a ball through an obstacle course before