PKGBUILDs/community/stormbaancoureur/PKGBUILD

29 lines
997 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Callan Barrett <wizzomafizzo@gmail.com>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Jacek Poplawski <jacekpoplawski@gmail.com>
pkgname=stormbaancoureur
pkgver=2.1.5
pkgrel=1
pkgdesc="Arcade-style car game based on physics"
arch=('i686' 'x86_64')
url="http://bram.creative4vision.nl/stormbaancoureur/"
license=('GPL')
depends=('freeglut' 'alsa-lib')
makedepends=('ode' 'plib')
source=(http://bram.creative4vision.nl/stormbaancoureur/download/$pkgname-$pkgver.tar.gz
$pkgname.desktop)
md5sums=('18aa9e5f34ede655d6530e6f022a455e'
'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
}