void-packages/srcpkgs/warzone2100/template

28 lines
914 B
Bash

# Template file for 'warzone2100'
pkgname=warzone2100
version=3.2.2
revision=1
build_style=gnu-configure
configure_args="--with-distributor=void"
hostmakedepends="zip unzip asciidoc pkg-config perl"
makedepends="libpng-devel fribidi-devel fontconfig-devel SDL2-devel libvorbis-devel
libtheora-devel libopenal-devel glew-devel physfs-devel qt5-script-devel harfbuzz-devel"
depends="desktop-file-utils ${pkgname}-data"
short_desc="3D realtime strategy game on a future Earth"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://wz2100.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=af5a8dfe9e9df3505ef2543e4e62afb1f61a4ee4cc903f8ff7785f3c79779d18
nocross="yes" # cannot run test program while cross compiling
warzone2100-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
vmove usr/share/doc
vmove usr/share/${sourcepkg}
}
}