updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / bumprace / PKGBUILD
blobc564c4178e1b0299a0be100850493667f9d7a535
1 # Maintainer: Dany Martineau <dany.luc.martineau@gmail.com>
2 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
4 pkgname=bumprace
5 pkgver=1.5.3
6 pkgrel=2
7 pkgdesc="BumpRace is a simple arcade game"
8 arch=(i686 x86_64)
9 depends=('sdl_image' 'sdl_mixer')
10 makedepends=('make' 'gif2png')
11 source=(http://user.cs.tu-berlin.de/~karlb/$pkgname/${pkgname}-${pkgver}.tar.gz 
12         bumprace.desktop)
13 url="http://user.cs.tu-berlin.de/~karlb/news/"
14 license=('GPL2')
15 md5sums=('a72733718ee6eed8cd1657db89bf8e0d' '7438331bafd68266ec4361bb6ce1da2e')
17 build() {
18   cd ${srcdir}/${pkgname}-${pkgver}
19   gif2png data/gfx/racer_big.gif
20   ./configure --prefix=/usr
21   make || return 1
22   make prefix=${pkgdir}/usr install
23   mkdir -p ${pkgdir}/usr/share/applications
24   install data/gfx/racer_big.png ${pkgdir}/usr/share/bumprace/icon.png
25   install ${srcdir}/bumprace.desktop ${pkgdir}/usr/share/applications