summaryrefslogtreecommitdiff
path: root/community/stormbaancoureur/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/stormbaancoureur/PKGBUILD')
-rw-r--r--community/stormbaancoureur/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/stormbaancoureur/PKGBUILD b/community/stormbaancoureur/PKGBUILD
new file mode 100644
index 000000000..484d4371f
--- /dev/null
+++ b/community/stormbaancoureur/PKGBUILD
@@ -0,0 +1,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')
+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
+}
+