diff --git a/srcpkgs/openra/template b/srcpkgs/openra/template index 744359faf2b..50b2020a410 100644 --- a/srcpkgs/openra/template +++ b/srcpkgs/openra/template @@ -1,11 +1,12 @@ # Template file for 'openra' pkgname=openra -version=20210321 -revision=2 +version=20231010 +revision=1 build_style="gnu-makefile" make_install_target="install install-linux-shortcuts install-linux-appdata" -make_build_args="TARGETPLATFORM=unix-generic" -make_install_args="prefix=/usr TARGETPLATFORM=unix-generic" +make_build_args="RUNTIME=mono TARGETPLATFORM=unix-generic" +make_install_args="RUNTIME=mono TARGETPLATFORM=unix-generic" +make_check_args="RUNTIME=mono TARGETPLATFORM=unix-generic" hostmakedepends="mono unzip curl msbuild-bin" makedepends="SDL2-devel lua51-devel freetype-devel libopenal-devel libgdiplus-devel" depends="mono libopenal freetype xdg-utils zenity SDL2 lua51 libgdiplus" @@ -14,7 +15,7 @@ maintainer="Orphaned " license="GPL-3.0-or-later" homepage="http://www.openra.net" distfiles="https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz" -checksum=fe9a09aaebcd2bb859c3d00abdd45f4f958e249d0c9a4c6cff1b8cdceee7e909 +checksum=013d016f1b0e0cfe2f8e1acae6184cf1853fc702a5a6c5a7bd35b7e615f70498 if [ "$XBPS_ENDIAN" = "be" ]; then broken="Fails to build" @@ -26,5 +27,5 @@ fi pre_build() { vsed -i -e "s#/app/lib#${XBPS_CROSS_BASE}/lib#g" configure-system-libraries.sh - make VERSION="release-${version}" version + make ${make_build_args} VERSION="release-${version}" version }