updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / crashtest / PKGBUILD
blob33ee7e17175c21b3f943c1e2f34e058fd833ddbd
1 # Contributor: Ross Eldridge <ptepid@ptepid.org>
2 pkgname=crashtest
3 pkgver=1.1
4 pkgrel=2
5 pkgdesc="Educational car crash simulation"
6 url="http://bram.creative4vision.nl/crashtest/"
7 license="GPL"
8 depends=('ode' 'plib' 'fltk' 'alsa-lib')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=(i686 x86_64)
14 source=(http://bram.creative4vision.nl/crashtest/$pkgname-$pkgver.tar.gz)
15 md5sums=('f739c1599a25d9a5c19e8f3289de00dd')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver/src-crashtest
19   make || return 1
20   make DESTDIR=$startdir/pkg install
21   mkdir -p $startdir/pkg/usr/bin
22   mv $startdir/pkg/usr/games/crashtest $startdir/pkg/usr/bin
23   rmdir $startdir/pkg/usr/games