mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
games/neverball: Updated for version 1.4.0
This commit is contained in:
parent
e635901aa8
commit
786fce7190
4 changed files with 18 additions and 15 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue