void-packages/srcpkgs/unknown-horizons/template

22 lines
709 B
Bash

# Template file for 'unknown-horizons'
pkgname=unknown-horizons
version=2019.1
revision=8
build_style=python3-module
hostmakedepends="python3 intltool git python3-Pillow"
depends="python3 fifengine python3-yaml"
short_desc="2D real time strategy simulation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, MIT, BSD-3-Clause, CC-BY-3.0, CC-BY-SA-3.0, OFL-1.0"
homepage="https://unknown-horizons.org"
distfiles="https://github.com/unknown-horizons/unknown-horizons/archive/refs/tags/${version}.tar.gz"
checksum=a417fd3d342212fd190e4f21be82ef13c10e1ed7c288fbbe46e46200cf3de4d8
pre_install() {
python3 horizons/engine/generate_atlases.py 2048
}
post_install() {
vlicense doc/LICENSE
}