void-packages/srcpkgs/julius/template

22 lines
641 B
Bash

# Template file for 'julius'
pkgname=julius
version=1.6.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=f50eade82c1f011a642a89ec526fe9e9589ac44ffa6041e072577336233b8166
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"
configure_args="-DCMAKE_C_STANDARD_LIBRARIES=-lexecinfo"
fi
post_install() {
vlicense LICENSE.txt
}