blob: e3b15df2c4177c24ecbade26472fc527ee02801b (
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
|
# $Id: PKGBUILD 12391 2010-03-03 10:54:05Z mherych $
# Maintainer: Callan Barrett <wizzomafizzo@gmail.com>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
pkgname=stormbaancoureur
pkgver=2.1.6
pkgrel=1
pkgdesc="Arcade-style car game based on physics"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.stolk.org/stormbaancoureur/"
license=('GPL')
depends=('freeglut' 'alsa-lib')
makedepends=('ode' 'plib')
source=(http://www.stolk.org/stormbaancoureur/download/$pkgname-$pkgver.tar.gz
$pkgname.desktop)
md5sums=('c09adc441b60acd2bbf6eb6d8a994c1e'
'38a10794e85dd01eff09d06d0c647d97')
build() {
cd $startdir/src/$pkgname-$pkgver/src-$pkgname
sed -i 's|/usr/share/games|/usr/share|g' Makefile main.cxx
sed -i 's|/usr/games|/usr/bin|g' Makefile
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m644 $startdir/src/$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop
}
|