void-packages/srcpkgs/julius/template

22 lines
641 B
Bash

# Template file for 'julius'
pkgname=julius
version=1.7.0
revision=1
build_style=cmake
makedepends="SDL2-devel SDL2_mixer-devel libpng-devel"
short_desc="Open source re-implementation of Caesar III"
maintainer="marmeladema <xademax@gmail.com>"
license="AGPL-3.0-only"
homepage="https://github.com/bvschaik/julius"
distfiles="https://github.com/bvschaik/julius/archive/v${version}.tar.gz"
checksum=3ee62699bcbf6c74fe5a9c940c62187141422a9bd98e01747a554fd77483431f
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"
configure_args="-DCMAKE_C_STANDARD_LIBRARIES=-lexecinfo"
fi
post_install() {
vlicense LICENSE.txt
}