void-packages/srcpkgs/warzone2100/template

26 lines
836 B
Bash

# Template file for 'warzone2100'
pkgname=warzone2100
version=3.2.0
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"
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=b700c2472b0bef6823d9e3fbb8012217f30636eb5013b0080f64d831d1c2075e
warzone2100-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
vmove usr/share/doc
vmove usr/share/${sourcepkg}
}
}