From 6ad8f24e1227ac83ffefff5e4222cca538650774 Mon Sep 17 00:00:00 2001 From: Fincer Date: Sun, 13 Nov 2016 23:17:06 +0200 Subject: [PATCH] Fix git version for RA2 maps --- data/linux/arch_linux/PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/data/linux/arch_linux/PKGBUILD b/data/linux/arch_linux/PKGBUILD index 4d57141..60f0023 100755 --- a/data/linux/arch_linux/PKGBUILD +++ b/data/linux/arch_linux/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Fincer pkgname=openra-bleed-tibsunra2 -pkgver=r20059.613854d +pkgver=r22238.0479b7f pkgrel=1 pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono and OpenGL (git version)" arch=("any") @@ -17,7 +17,8 @@ source=("$pkgname-src::git+https://github.com/OpenRA/OpenRA.git#branch=bleed" sha1sums=('SKIP' 'SKIP' '2e67a7f84d78d7b9ce8981ebb578c7b744406406' - 'ed794d2538ab53c747b10ab3a013f667eb455815') + '412fb02c061918c1a997359713427fa357340a91' + '5d73aedf0b3f6736981c727646c122d3c75ea27b') pkgver() { cd "$srcdir/$pkgname-src" @@ -41,6 +42,7 @@ build() { # Get Red Alert 2 GIT version number ra2_version=git-$(git ls-remote https://github.com/OpenRA/ra2.git | head -1 | sed "s/HEAD//" | sed 's/^\(.\{7\}\).*/\1/') sed -i "s/Version: {DEV_VERSION}/Version: $ra2_version/g" $srcdir/$pkgname-src/mods/ra2/mod.yaml + sed -i "s/maps\/ra2\/{DEV_VERSION}/maps\/ra2\/$ra2_version/g" $srcdir/$pkgname-src/mods/ra2/mod.yaml cd "$srcdir/$pkgname-src" make version