# Maintainer: Díaz Urbaneja Diego # Contributor: Díaz Urbaneja Diego 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"