updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / xrally / PKGBUILD
blob37304d25db562f62bcfb4b090832c65005014263
1 # $Id: PKGBUILD 7789 2008-08-04 09:49:10Z ronald $
2 # Contributor: dale <dale@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 # Maintainer: Dany Martineau <dany.luc.martineau at gmail.com>
6 pkgname=xrally
7 pkgver=1.1.1
8 pkgrel=2
9 pkgdesc="XRally is a clone of the Rally X arcade game"
10 url="http://www.linuxgames.com/xrally/"
11 depends=('libxpm')
12 makedepends=('make')
13 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-1.1.tar.bz2
14         xrally.desktop patch-graphics.c  patch-score.c  patch-soundplayer.h
15         patch-global.h   patch-menu.c      patch-sound.c)
16 license=('GPL2')
17 arch=('i686' 'x86_64')
18 md5sums=('ecb8027508a65a960c0b804ba1f8363c'
19          'ef0a5ea819c058a08dad0271d3872291'
20          '95860f27208c864d320b5ee1feff3666'
21          'b2dca915ffae8bcf7d035a4c5d829d16'
22          '0fe46747e3e92f1642d8a8fd2d12efbe'
23          'c89630659820383871d5159c9379025a'
24          'b18611ae8e4cadbd399a7edaafb966a2'
25          'd231f7f87cffed964abb8205aaec06ef')
27 build() {
28 cd ${srcdir}/${pkgname}
29 patch -p0 < ../patch-graphics.c
30 patch -p0 < ../patch-score.c
31 patch -p0 < ../patch-soundplayer.h
32 patch -p0 < ../patch-global.h
33 patch -p0 < ../patch-menu.c
34 patch -p0 < ../patch-sound.c
35 ./configure --prefix=/usr
36 make || return 1
37 make prefix=${pkgdir}/usr install
38 mkdir -p ${pkgdir}/usr/share/applications
39 cp ../xrally.desktop ${pkgdir}/usr/share/applications