summaryrefslogtreecommitdiff
path: root/community/extremetuxracer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/extremetuxracer/PKGBUILD')
-rw-r--r--community/extremetuxracer/PKGBUILD37
1 files changed, 12 insertions, 25 deletions
diff --git a/community/extremetuxracer/PKGBUILD b/community/extremetuxracer/PKGBUILD
index b3945e6e3..1f5382f1e 100644
--- a/community/extremetuxracer/PKGBUILD
+++ b/community/extremetuxracer/PKGBUILD
@@ -1,46 +1,33 @@
-# $Id: PKGBUILD 90020 2013-05-06 19:36:49Z foutrelis $
+# $Id: PKGBUILD 101299 2013-11-22 05:31:02Z allan $
# 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=6
+pkgver=0.6.0
+pkgrel=1
pkgdesc="Downhill racing game starring Tux"
arch=('i686' 'x86_64' 'mips64el')
-url="http://www.extremetuxracer.com"
+url="http://sourceforge.net/projects/extremetuxracer/"
license=('GPL')
-depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu')
-makedepends=('mesa' 'libxi' 'libxmu')
+depends=('sdl_image' 'sdl_mixer' 'glu' 'freetype2')
+#depends=('libpng' )
+#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')
+source=("http://downloads.sourceforge.net/$pkgname/etr-$pkgver.tar.xz")
+sha256sums=('44312719a1e9aa33e5aa0c8ad50bb52df702d64fd2d16bf2abda62ee27bf893a')
build() {
- cd "$srcdir/extremetuxracer-$pkgver"
-
- patch -Np1 -i "${srcdir}/libpng15.patch"
- sed -i -e 's/libpng12/libpng15/g' configure
+ cd "$srcdir/etr-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/extremetuxracer-$pkgver"
+ cd "$srcdir/etr-$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: