void-packages/srcpkgs/freeorion/template

24 lines
975 B
Bash

# Template file for 'freeorion'
pkgname=freeorion
version=0.4.10.2
revision=7
_release=${version}_2021-08-01.f663dad
build_style=cmake
hostmakedepends="cppcheck doxygen python3-pycodestyle"
makedepends="boost-devel libvorbis-devel
freetype-devel glew-devel libopenal-devel python3-devel SDL2-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Turn-based space empire and galactic conquest (4X) computer game"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://freeorion.org/index.php/Main_Page"
changelog="https://raw.githubusercontent.com/freeorion/freeorion/master/ChangeLog.md"
distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${_release}_Source.tar.gz"
checksum=f6056ee97edd46dee8076cc1cdb11c711652f1e26f03cec1244a01a3cd5b0d70
replaces="freeorion-data>=0"
post_extract() {
_build_no=${_release/*_/}
sed -i -e "s|\${FreeOrion_BUILD_NO}|$_build_no|" util/Version.cpp.in
}