diff --git a/srcpkgs/openra/template b/srcpkgs/openra/template index 88a37f503f..c37552c80b 100644 --- a/srcpkgs/openra/template +++ b/srcpkgs/openra/template @@ -1,12 +1,12 @@ # Template file for 'openra' pkgname=openra -version=20200503 -revision=2 +version=20210321 +revision=1 wrksrc="OpenRA-release-${version}" build_style="gnu-makefile" -make_install_target="install install-linux-shortcuts install-linux-mime - install-linux-appdata install-man-page" -make_install_args="prefix=/usr" +make_install_target="install install-linux-shortcuts install-linux-appdata" +make_build_args="TARGETPLATFORM=unix-generic" +make_install_args="prefix=/usr 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" @@ -15,7 +15,7 @@ maintainer="Helmut Pozimski " license="GPL-3.0-or-later" homepage="http://www.openra.net" distfiles="https://github.com/OpenRA/OpenRA/archive/release-${version}.tar.gz" -checksum=11ee0aa738c6e7fc4f39ab23f029a280a29530e28096c7da78eb12b12f1a854f +checksum=fe9a09aaebcd2bb859c3d00abdd45f4f958e249d0c9a4c6cff1b8cdceee7e909 if [ "$XBPS_ENDIAN" = "be" ]; then broken="Fails to build" @@ -26,6 +26,6 @@ if [ "$CROSS_BUILD" ]; then fi pre_build() { + vsed -i -e "s#/app/lib#${XBPS_CROSS_BASE}/lib#g" configure-system-libraries.sh make VERSION="release-${version}" version - make dependencies }