void-packages/srcpkgs/liquidwar/template

24 lines
798 B
Bash

# Template file for 'liquidwar'
pkgname=liquidwar
version=5.6.4
revision=2
build_style="gnu-configure"
make_build_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
make_install_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
make_install_target="install_nolink"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="python"
makedepends="allegro4-devel"
license="GPL"
homepage="http://www.ufoot.org/liquidwar"
short_desc="A unique multiplayer wargame"
distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
checksum=32c52e4588e8e723f907ef43703b4ddf009e8ff1f29555c09bcc1f70bf5b93a3
pre_configure() {
# The assembly only exists for 32 bit platforms
if [ "$XBPS_TARGET_MACHINE" == "x86_64" ]; then
configure_args+=" --disable-asm"
fi
}