updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / rott / PKGBUILD
blob908f9a75eb1d6baa2687ba1367d4a3973a03bc88
1 # Contributor: mickael9 <mickael9 at gamil dot com>
3 pkgname=rott
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc='A high quality first-person perspective 3D action game'
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 depends=('sdl_mixer')
10 url="http://icculus.org/rott/"
11 source=(http://icculus.org/rott/releases/$pkgname-$pkgver.tar.gz)
12 md5sums=('c0c0e1719375f58428627af9f8dbc7c3')
14 build() {
15   cd $pkgname-$pkgver/rott
17   sed   -e 's|SHAREWARE   1|SHAREWARE 0|' \
18         -e 's|SUPERROTT   0|SUPERROTT 1|' \
19         -i develop.h
21   make || return 1
23   install -Dm755 rott $pkgdir/usr/bin/rott
24   install -Dm644 ../doc/rott.6 $pkgdir/usr/share/man/man6/rott.6