# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Ronald van Haren # Contributor: Eric Belanger # Contributor: Fabio Scotoni pkgname=extremetuxracer pkgver=0.4 pkgrel=1.1 pkgdesc="Downhill racing game starring Tux" arch=('i686' 'x86_64') url="http://www.extremetuxracer.com" license=('GPL') depends=('sdl_mixer' 'tcl>=8.5.0' 'mesa' 'libpng' 'freetype2' 'libxi' 'libxmu') conflicts=('ppracer' 'etracer') replaces=('ppracer' 'etracer') source=(http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz \ $pkgname.png $pkgname.desktop) md5sums=('6830eb4e1ca7c5a541f286ded3853f9f' 'a188e4ce61d0376fa42059e13157c5d1' '429974a3d7f4640073e8fbfb4f0f45d2') build() { cd ${srcdir}/extremetuxracer-$pkgver ./configure --prefix=/usr make || return 1 make DESTDIR=${pkgdir} install || return 1 # Install icon and desktop file install -D -m644 ${srcdir}/${pkgname}.desktop \ ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1 install -D -m644 ${srcdir}/${pkgname}.png \ ${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1 }