aports/testing/armagetronad/APKBUILD

52 lines
1.5 KiB
Text

# Maintainer: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Contributor: Díaz Urbaneja Diego <sodomon2@gmail.com>
# Contributor: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=armagetronad
pkgver=0.2.9.1.1
pkgrel=0
pkgdesc="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 sdl12-compat-dev"
subpackages="$pkgname-doc"
options="!check" #the tests are deactivated because the make check has not been declared
source="$pkgname-$pkgver.tar.bz2::https://launchpad.net/armagetronad/${pkgver%.*.*}/$pkgver/+download/armagetronad-$pkgver.tbz"
# config.guess is too old to recognize loongarch64-alpine-linux-musl
prepare() {
default_prepare
update_config_guess
}
build() {
./configure \
--prefix=/usr \
--disable-useradd \
--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
# The symlinks they install here are not actual openrc scripts
rm -rf "$pkgdir"/etc/init.d
}
sha512sums="
2bdda4c48c224e1ed54b9526aad3ad15a0514d1aa7724c0d743933e8fce576b47dfc2622bc1a27a97f004e6e99bc398b0cc4207501c56252605401dcb03a09cf armagetronad-0.2.9.1.1.tar.bz2
"