#Maintainer: George Vlahavas (vlahavas@gmail.com, gapan@zenwalk forums) pkgname=extreme-tuxracer pkgver=0.4 pkgrel=1 zenver=52 arch=i486 source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-0.4.tar.gz" "http://users.zenwalk.org/user-accounts/gapan/extreme-tuxracer/icons.tar.gz" "http://users.zenwalk.org/user-accounts/gapan/extreme-tuxracer/extreme-tuxracer.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") url=http://www.extremetuxracer.com/ options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "extreme-tuxracer - a 3D computer game starring Tux" "Extreme Tux Racer is a 3D computer game starring the Linux" "mascot, Tux the penguin. In the game, the player controls Tux (or" "one of three other characters) as he slides down a course of snow" "and ice collecting herring. Sliding on ice makes Tux go faster," "while sliding on snow allows for more maneuverability and sliding" "on rocky patches will slow Tux down. There are also trees to block" "Tux's path and flags for sake of marking out the course." ) build() { cd $startdir/src/extremetuxracer-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg # Copy icons to the right place ICONSIZES="48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; }