void-packages/srcpkgs/warzone2100/template

33 lines
1.0 KiB
Bash

# Template file for 'warzone2100'
pkgname=warzone2100
version=3.3.0
revision=1
wrksrc="warzone2100"
build_style=gnu-configure
configure_args="--with-distributor=void"
hostmakedepends="zip unzip asciidoc pkg-config perl autoconf automake"
makedepends="libpng-devel fribidi-devel fontconfig-devel SDL2-devel libvorbis-devel
libtheora-devel libopenal-devel glew-devel physfs-devel harfbuzz-devel
qt5-script-devel"
depends="desktop-file-utils ${pkgname}-data"
short_desc="3D realtime strategy game on a future Earth"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="http://wz2100.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}_src.tar.xz"
checksum=cc48c8128d17a499e833996470d843855389d9fc985c71f05be08901f33116e8
nocross="cannot run test program while cross compiling"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
warzone2100-data_package() {
archs=noarch
short_desc+=" - data files"
pkg_install() {
vmove usr/share/doc
vmove usr/share/${sourcepkg}
}
}