neverball: taken over

This commit is contained in:
Danny Rawlins 2007-09-13 00:03:16 +10:00
parent badc36ea22
commit 02cea51c61

View File

@ -1,7 +1,8 @@
# Description: Tilt the floor to roll a ball through an obstacle course # Description: Tilt the floor to roll a ball through an obstacle course.
# URL: http://icculus.org/neverball/ # URL: http://icculus.org/neverball/
# Maintainer: Mark Rosenstand, mark at borkware dot net # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Depends on: sdl_image, sdl_mixer, sdl_ttf # Packager: Mark Rosenstand, mark at borkware dot net
# Depends on: sdl_image sdl_mixer sdl_ttf
name=neverball name=neverball
version=1.4.0 version=1.4.0
@ -10,11 +11,12 @@ source=(http://icculus.org/neverball/neverball-$version.tar.gz)
build() { build() {
cd neverball-$version cd neverball-$version
sed -i /CONFIG_DATA/s:\./data:/usr/share/neverball:g share/config.h sed -i '/CONFIG_DATA/s|\./data|/usr/share/neverball|g' share/config.h
make make
mkdir -p $PKG/usr/{bin,share/icons} install -d $PKG/usr/{bin,share/icons}
cp neverball neverputt $PKG/usr/bin cp neverball neverputt $PKG/usr/bin
find data icon -type f -exec chmod -v 644 {} \; find data icon -type f -exec chmod -v 644 {} \;
cp -r icon $PKG/usr/share/icons/neverball cp -r icon $PKG/usr/share/icons/neverball
cp -r data $PKG/usr/share/neverball cp -r data $PKG/usr/share/neverball
} }