void-packages/srcpkgs/liquidwar/template

24 lines
793 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="Orphaned <orphan@voidlinux.eu>"
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
}