blob: 10e92b64451d2627d560d3a4557f686769899abb (
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
38
39
|
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=adanaxis-gpl
_name=adanaxisgpl
pkgver=1.2.5
pkgrel=1
pkgdesc="A deep space first-person shooter game in four spatial dimensions (GPL version, built from source)"
arch=("i686" "x86_64")
url="http://www.mushware.com/portal.php"
license=('GPL')
depends=("libx11" "libxext" "glu" "sdl" "sdl_mixer" "libvorbis" "libogg" "libtiff" "pcre" "expat")
conflicts=("adanaxis-gpl-deb")
install=
source=("http://www.mushware.com/files/${_name}-$pkgver.tar.gz"
"gcc-4.7.patch"
"const.patch")
md5sums=('bd890ac60c875f7b114d722d16d5eb71'
'0d9367d86a34c78a107bf775d8b4ee2a'
'dc66d718ae4389b5e02fa9238b33710e')
prepare() {
cd "$srcdir/${_name}-$pkgver"
# Required to build with gcc>=4.7, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667094
patch -p1 -i "$srcdir/gcc-4.7.patch"
# Constness issue
patch -p1 -i "$srcdir/const.patch"
}
build() {
cd "$srcdir/${_name}-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${_name}-$pkgver"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|