void-packages/srcpkgs/warzone2100/template
2016-09-05 08:40:17 +02:00

25 lines
836 B
Bash

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