void-packages/srcpkgs/warzone2100/template

25 lines
822 B
Bash

# Template file for 'warzone2100'
pkgname=warzone2100
version=3.1.5
revision=1
build_style=gnu-configure
configure_args="--with-distributor=void"
hostmakedepends="zip unzip asciidoc pkg-config"
makedepends="libpng-devel fribidi-devel fontconfig-devel SDL-devel libvorbis-devel
libtheora-devel libopenal-devel glew-devel physfs-devel qt-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=21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442
warzone2100-data_package() {
noarch=yes
short_desc+=" - data files"
pkg_install() {
vmove usr/share/doc
vmove usr/share/${sourcepkg}
}
}