2007-09-13 00:03:16 +10:00
|
|
|
# Description: Tilt the floor to roll a ball through an obstacle course.
|
|
|
|
# URL: http://icculus.org/neverball/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-09-13 00:03:16 +10:00
|
|
|
# Packager: Mark Rosenstand, mark at borkware dot net
|
2010-11-04 01:15:51 +11:00
|
|
|
# Depends on: sdl_image sdl_mixer sdl_ttf physfs
|
2006-10-29 13:17:55 +01:00
|
|
|
|
|
|
|
name=neverball
|
2010-11-04 01:15:51 +11:00
|
|
|
version=1.5.4
|
2006-10-29 13:17:55 +01:00
|
|
|
release=1
|
|
|
|
source=(http://icculus.org/neverball/neverball-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2010-11-04 01:15:51 +11:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
sed -i -e '/CONFIG_DATA/s|\./data|/usr/share/neverball|g' \
|
|
|
|
share/base_config.h
|
|
|
|
|
2006-10-29 13:17:55 +01:00
|
|
|
make
|
2010-11-04 01:15:51 +11:00
|
|
|
|
2007-09-13 00:03:16 +10:00
|
|
|
install -d $PKG/usr/{bin,share/icons}
|
2006-10-29 13:17:55 +01:00
|
|
|
cp neverball neverputt $PKG/usr/bin
|
2010-11-04 01:15:51 +11:00
|
|
|
find data -type f -exec chmod -v 0644 {} \;
|
2006-10-29 13:17:55 +01:00
|
|
|
cp -r data $PKG/usr/share/neverball
|
2010-11-04 01:15:51 +11:00
|
|
|
cp -r data/icon $PKG/usr/share/icons/neverball
|
2006-10-29 13:17:55 +01:00
|
|
|
}
|