From c2a54b3000fbba7ff6d993f75f585b04f3d28b92 Mon Sep 17 00:00:00 2001 From: Fincer Date: Sat, 13 Feb 2016 21:22:26 +0200 Subject: [PATCH] Add patches automatically + remove NuGet dependency --- data/linux/arch_linux/PKGBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/data/linux/arch_linux/PKGBUILD b/data/linux/arch_linux/PKGBUILD index 8fa266a..4d57141 100755 --- a/data/linux/arch_linux/PKGBUILD +++ b/data/linux/arch_linux/PKGBUILD @@ -1,27 +1,23 @@ # Maintainer: Fincer pkgname=openra-bleed-tibsunra2 -pkgver=r20052.b8942d4 +pkgver=r20059.613854d pkgrel=1 pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL (git version)" arch=("any") url="http://openra.net" license=("GPL3") depends=("mono" "ttf-dejavu" "openal" "libgl" "freetype2" "sdl2" "lua51" "hicolor-icon-theme" "desktop-file-utils" "xdg-utils") -makedepends=("git" "nuget") +makedepends=("git") provides=("openra") conflicts=("openra-git" "openra") install=openra-bleed-tibsunra2.install source=("$pkgname-src::git+https://github.com/OpenRA/OpenRA.git#branch=bleed" "git://github.com/OpenRA/ra2.git" -ra2-csproj.patch -openra-solution.patch -tibsun_ra2.patch) sha1sums=('SKIP' 'SKIP' - '70a45c14874e4454bacb45b5d0c917d452cf4e84' - 'c1d7581ce21851648489adf9ba28aa46ef9615d0' - 'f347f7866352eda1965bb9c5d66fb054eacfffa6') + '2e67a7f84d78d7b9ce8981ebb578c7b744406406' + 'ed794d2538ab53c747b10ab3a013f667eb455815') pkgver() { cd "$srcdir/$pkgname-src" @@ -38,9 +34,7 @@ build() { # Patch OpenRA core files for Tiberian Sun & Red Alert 2 cd "$srcdir/$pkgname-src" - patch -Np1 -i "$srcdir/ra2-csproj.patch" - patch -Np1 --binary -i "$srcdir/openra-solution.patch" - patch -Np1 -i "$srcdir/tibsun_ra2.patch" + for i in $srcdir/*.patch; do patch -Np1 < $i; done mkdir $srcdir/$pkgname-src/mods/ra2/bits/{vehicles,themes} @@ -51,7 +45,7 @@ build() { cd "$srcdir/$pkgname-src" make version make dependencies - make all [DEBUG=true] + make all [DEBUG=false] } package() {