blob: 0642b7c5b401947dbe10b839bc2c68be1670d589 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=etracer
pkgver=0.6.0
pkgrel=0
pkgdesc="A racing game where you race tux down a mountain"
url="http://extremetuxracer.com/"
arch="all"
license="GPL2+"
depends=""
makedepends="sdl-dev mesa-dev sdl_mixer-dev tcl-dev freetype-dev libpng-dev
libx11-dev libxext-dev libxmu-dev libxi-dev libxt-dev glu-dev autoconf
automake sdl_image-dev"
install=""
source="http://downloads.sourceforge.net/extremetuxracer/etr-$pkgver.tar.xz"
_builddir="${srcdir}"/etr-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
autoreconf -f -s -i -m
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="c85690864b14f9d422b73025cb01aa8d etr-0.6.0.tar.xz"
sha256sums="44312719a1e9aa33e5aa0c8ad50bb52df702d64fd2d16bf2abda62ee27bf893a etr-0.6.0.tar.xz"
sha512sums="c3127dd1f8d9b856cc42808713a53b48a64821f020ecf3bfaae8be96e36eaddfadfedcf394d445ea1f49df650763b50d35a5ad9cac03308bcb1a4a473e4906d8 etr-0.6.0.tar.xz"
|