void-packages/srcpkgs/warzone2100/template

28 lines
914 B
Bash

# Template file for 'warzone2100'
pkgname=warzone2100
version=3.2.3
revision=3
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=fcab9e860203e7dacda6ee60384da490a9d44aeafc07aa31ff25f9c548be7582
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}
}
}