blob: 45992a3ec9184be7ce33e18d52c4ab24cd2b320a (
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
29
30
31
32
33
34
35
36
37
|
# $Id$
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Sven Schneider <archlinux.sandmann@googlemail.com>
# Contributor: Jason Melton <jason.melton@gmail.com>
pkgname=stuntrally
pkgver=2.2.1
pkgrel=3
pkgdesc='Stunt Rally game with track editor, based on VDrift'
arch=('x86_64' 'i686')
license=('GPL3')
url='http://code.google.com/p/vdrift-ogre'
depends=('libvorbis' 'mygui' 'sdl2' 'enet' 'gtk-update-icon-cache' 'stuntrally-data')
makedepends=('cmake' 'boost' 'git')
install=stuntrally.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/stuntrally/stuntrally/archive/${pkgver}.tar.gz")
sha256sums=('305b5f498ab150e4cf1fd1d47410ea04ad3cf439b60278ea2b73a01278d9ca51')
build() {
cd "$srcdir/stuntrally-$pkgver/"
rm -rf build
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DSHARE_INSTALL="share/stuntrally"
make
}
package() {
cd "$srcdir/stuntrally-$pkgver/build/"
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir/usr/share/stuntrally/"
}
# vim:set ts=2 sw=2 et:
|