Date: Monday, February 27, 2023 @ 17:37:35 Author: svenstaro Revision: 1405510
upgpkg: openra 20230225-1 Modified: openra/trunk/PKGBUILD ----------+ PKGBUILD | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-27 17:30:57 UTC (rev 1405509) +++ PKGBUILD 2023-02-27 17:37:35 UTC (rev 1405510) @@ -1,19 +1,19 @@ -# Maintainer: Sven-Hendrik Haase <[email protected]> +# Maintainer: Sven-Hendrik Haase <[email protected]> # Contributor: Matthew Bowra-Dean <[email protected]> pkgname=openra -pkgver=20210321 -pkgrel=2 +pkgver=20230225 +pkgrel=1 pkgdesc="An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL" arch=('any') url="https://www.openra.net" license=('GPL3') install=openra.install -depends=('mono' 'ttf-dejavu' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme' 'gtk-update-icon-cache' - 'desktop-file-utils' 'xdg-utils' 'zenity') -makedepends=('git' 'unzip' 'mono-msbuild') -options=(!strip) +depends=('ttf-dejavu' 'openal' 'libgl' 'freetype2' 'sdl2' 'lua51' 'hicolor-icon-theme' + 'gtk-update-icon-cache' 'desktop-file-utils' 'xdg-utils' 'zenity' 'dotnet-sdk-6.0') +makedepends=('git' 'unzip') +options=(!debug) source=("git+https://github.com/OpenRA/OpenRA.git#tag=release-${pkgver}") -md5sums=('SKIP') +sha512sums=('SKIP') prepare() { cd OpenRA @@ -24,13 +24,16 @@ build() { cd OpenRA - make TARGETPLATFORM=unix-generic + make RUNTIME=net6 TARGETPLATFORM=unix-generic } package() { cd OpenRA - - make prefix=/usr DESTDIR="$pkgdir" install + mkdir -p "$pkgdir/usr/lib/openra/" + cp -r bin/* "$pkgdir/usr/lib/openra/" + source ./packaging/functions.sh + install_data . "$pkgdir/usr/lib/openra/" cnc d2k ra make prefix=/usr DESTDIR="$pkgdir" install-linux-shortcuts make prefix=/usr DESTDIR="$pkgdir" install-linux-appdata + # make prefix=/usr DESTDIR="$pkgdir" install-man }
