22 lines
705 B
Plaintext
22 lines
705 B
Plaintext
|
# Description: Tilt the floor to roll a ball through an obstacle course before time runs out.
|
||
|
# URL: http://icculus.org/neverball/
|
||
|
# Maintainer: Daniel Walpole, daniel at walpole dot id dot au
|
||
|
# Depends on: sdl_mixer, sdl_image, sdl_ttf
|
||
|
|
||
|
name=neverball
|
||
|
version=1.4.0
|
||
|
release=1
|
||
|
source=(http://0day.icculus.org/$name/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
sed -i -e '/CONFIG_DATA/s:"\./data":"'/usr/share/neverball'":g' share/config.h
|
||
|
make
|
||
|
mkdir -p $PKG/usr/{bin,share/icons}
|
||
|
install -m 0755 {neverball,neverputt} $PKG/usr/bin
|
||
|
mv -f icon $PKG/usr/share/icons/neverball
|
||
|
mv -f data $PKG/usr/share/neverball
|
||
|
find $PKG/usr/share/ -type f -exec chmod 0644 \{\} \;
|
||
|
chown -R root.root $PKG
|
||
|
}
|