void-packages/srcpkgs/liquidwar/template
0x5c 0b436a20c3 liquidwar: move to python3, cleanup.
Added patch from debian (with small tweaks) to convert the documentation
generator script from python2 to python3. Related to #38229

Added texinfo to hostmakedeps. Somehow, something changed outside the template
since last version/revbump that caused info files to no longer be built.

Disabled checks since the only one is a linter step that requires xmllint.

Also fixed an xlint in the description.
2022-09-02 18:12:57 +02:00

28 lines
961 B
Bash

# Template file for 'liquidwar'
pkgname=liquidwar
version=5.6.5
revision=1
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"
hostmakedepends="python3 texinfo"
makedepends="allegro4-devel"
short_desc="Unique multiplayer wargame"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.ufoot.org/liquidwar"
distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz"
checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f
nocross="run build artifarts"
# the only check is a linter for documentation sources that requires additional packages
make_check="no"
CFLAGS="-fcommon"
pre_configure() {
# The assembly only exists for 32 bit x86
if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then
configure_args+=" --disable-asm"
fi
}