Date: Monday, February 27, 2023 @ 17:37:44
Author: svenstaro
Revision: 1405511
archrelease: copy trunk to community-any
Added:
openra/repos/community-any/PKGBUILD
(from rev 1405510, openra/trunk/PKGBUILD)
openra/repos/community-any/openra.install
(from rev 1405510, openra/trunk/openra.install)
Deleted:
openra/repos/community-any/PKGBUILD
openra/repos/community-any/openra.install
----------------+
PKGBUILD | 75 ++++++++++++++++++++++++++++---------------------------
openra.install | 8 ++---
2 files changed, 43 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-27 17:37:35 UTC (rev 1405510)
+++ PKGBUILD 2023-02-27 17:37:44 UTC (rev 1405511)
@@ -1,36 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: Matthew Bowra-Dean <[email protected]>
-pkgname=openra
-pkgver=20210321
-pkgrel=2
-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)
-source=("git+https://github.com/OpenRA/OpenRA.git#tag=release-${pkgver}")
-md5sums=('SKIP')
-
-prepare() {
- cd OpenRA
-
- make version VERSION="release-${pkgver}"
-}
-
-build() {
- cd OpenRA
-
- make TARGETPLATFORM=unix-generic
-}
-
-package() {
- cd OpenRA
-
- make prefix=/usr DESTDIR="$pkgdir" install
- make prefix=/usr DESTDIR="$pkgdir" install-linux-shortcuts
- make prefix=/usr DESTDIR="$pkgdir" install-linux-appdata
-}
Copied: openra/repos/community-any/PKGBUILD (from rev 1405510,
openra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-27 17:37:44 UTC (rev 1405511)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Matthew Bowra-Dean <[email protected]>
+pkgname=openra
+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=('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}")
+sha512sums=('SKIP')
+
+prepare() {
+ cd OpenRA
+
+ make version VERSION="release-${pkgver}"
+}
+
+build() {
+ cd OpenRA
+
+ make RUNTIME=net6 TARGETPLATFORM=unix-generic
+}
+
+package() {
+ cd OpenRA
+ 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
+}
Deleted: openra.install
===================================================================
--- openra.install 2023-02-27 17:37:35 UTC (rev 1405510)
+++ openra.install 2023-02-27 17:37:44 UTC (rev 1405511)
@@ -1,4 +0,0 @@
-post_remove() {
- echo "openra downloaded data files to ~/.openra/Content and you might want"
- echo "to delete those."
-}
Copied: openra/repos/community-any/openra.install (from rev 1405510,
openra/trunk/openra.install)
===================================================================
--- openra.install (rev 0)
+++ openra.install 2023-02-27 17:37:44 UTC (rev 1405511)
@@ -0,0 +1,4 @@
+post_remove() {
+ echo "openra downloaded data files to ~/.openra/Content and you might want"
+ echo "to delete those."
+}