blob: de003d85f6f977f219ff2493f8240f2a18a4f583 (
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
40
41
42
43
44
45
46
47
|
# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
pkgname=armagetronad
pkgver=0.2.8.3.4
pkgrel=0
pkgdesc="A Tron Clone in 3D."
url="http://armagetronad.net/"
arch="all"
license="GPL-1.0-only"
makedepends="sdl_image-dev sdl_mixer-dev ftgl-dev libxml2-dev"
subpackages="$pkgname-doc $pkgname-openrc"
options="!check" #the tests are deactivated because the make check has not been declared
source="https://launchpad.net/armagetronad/${pkgver%.*.*}/$pkgver/+download/armagetronad-$pkgver.src.tar.gz"
prepare() {
default_prepare
update_config_guess
}
build() {
./configure \
--prefix=/usr \
--disable-useradd \
--enable-dirty \
--enable-music \
--enable-armathentication \
--enable-master \
--enable-krawall \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--libexecdir=/usr/libexec \
--datadir=/usr/share \
--sysconfdir=/usr/share \
--sharedstatedir=/usr/share \
--localstatedir=/var \
--libdir=/usr/share \
--includedir=/usr/share \
--docdir=/usr/share/doc/armagetronad
make
}
package() {
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="b6564a67e37dae095f56fb0b98c5d80e09ea220e7416b549978e3ab4b018eb01026e4a5d339d46aaaf4edc7b5e1d707cf6a172f79ef367414a1c7636f14da234 armagetronad-0.2.8.3.4.src.tar.gz"
|