diff options
author | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-13 00:57:48 -0700 |
commit | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (patch) | |
tree | ef49797b1f76586e9f8281e301a4923d90f29aa7 /community-testing/extremetuxracer/PKGBUILD | |
parent | 3cfedd8a4ed1e5464ef328d91b1a224aedc07960 (diff) |
Sat Oct 13 00:57:48 PDT 2012
Diffstat (limited to 'community-testing/extremetuxracer/PKGBUILD')
-rw-r--r-- | community-testing/extremetuxracer/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community-testing/extremetuxracer/PKGBUILD b/community-testing/extremetuxracer/PKGBUILD new file mode 100644 index 000000000..9292787b9 --- /dev/null +++ b/community-testing/extremetuxracer/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 77580 2012-10-12 23:39:40Z ebelanger $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Eric Belanger <eric.archlinux.org> +# Contributor: Fabio Scotoni <CCuleX.gmail.com> +# Contributor: Alexander Rødseth <rodseth@gmail.com> +pkgname=extremetuxracer +pkgver=0.4 +pkgrel=4 +pkgdesc="Downhill racing game starring Tux" +arch=('x86_64' 'i686') +url="http://www.extremetuxracer.com" +license=('GPL') +depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu') +makedepends=('mesa' 'libxi' 'libxmu') +conflicts=('ppracer' 'etracer') +replaces=('ppracer' 'etracer') +source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz" + "$pkgname.png" + "$pkgname.desktop" + "libpng15.patch") +sha256sums=('5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d' + 'ec1426171fc80b07b702e373bf9528244a3b224e887ab24b52f90740691e92fb' + '349448e8be522bbbe9fd896e875a4add7e02c35d0fafa46c5b10582562da3ca8' + '2b693eaf421d56887615fc02d40f742e9b8bf817ae36be1f1f9e33a52719eea8') + +build() { + cd "$srcdir/extremetuxracer-$pkgver" + + patch -Np1 -i "${srcdir}/libpng15.patch" + sed -i -e 's/libpng12/libpng15/g' configure + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/extremetuxracer-$pkgver" + make DESTDIR="$pkgdir" install + + # Install icon and desktop file + install -Dm644 "$srcdir/$pkgname.desktop" \ + "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/$pkgname.png" \ + "$pkgdir/usr/share/pixmaps/$pkgname.png" +} + +# vim:set ts=2 sw=2 et: |