diff options
author | Eden Rose | 2017-10-10 00:30:16 -0400 |
---|---|---|
committer | Eden Rose | 2017-10-10 00:30:16 -0400 |
commit | 34b9c3f3484143a268dcf4f62deabc526853237c (patch) | |
tree | c54efb9ab01b6e0ca2afc362440c1830c53b5e53 | |
parent | 23ff52f1b851fa8b9a3c9c351a68ab7768f9d14e (diff) | |
download | aur-34b9c3f3484143a268dcf4f62deabc526853237c.tar.gz |
Fixed RA2
-rw-r--r-- | .SRCINFO | 4 | ||||
-rwxr-xr-x | PKGBUILD | 12 | ||||
-rw-r--r-- | RA2-mod.config.patch | 12 |
3 files changed, 7 insertions, 21 deletions
@@ -1,6 +1,6 @@ pkgbase = openra-git pkgdesc = An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL. DuneII and Red Alert 2, mods Included. -GIT VERSION - pkgver = BLEED.20170909.43664a12b + pkgver = BLEED.20171009.249e81344 pkgrel = 1 url = http://www.openra.net install = openra.install @@ -26,11 +26,9 @@ pkgbase = openra-git source = OpenRA::git://github.com/OpenRA/OpenRA.git#branch=bleed source = RA2::git://github.com/OpenRA/ra2.git source = D2::git://github.com/OpenRA/d2.git - source = RA2-mod.config.patch md5sums = SKIP md5sums = SKIP md5sums = SKIP - md5sums = 17da3f549c51bc2d25840167cd79bbbc pkgname = openra-git @@ -4,7 +4,7 @@ # Contributor: Matthew Bowra-Dean <matthew@ijw.co.nz> # pkgname=openra-git -pkgver=BLEED.20170909.43664a12b +pkgver=BLEED.20171009.249e81344 pkgrel=1 pkgdesc="An open-source implementation of the Red Alert engine using .NET/Mono and OpenGL. DuneII and Red Alert 2, mods Included. -GIT VERSION" arch=('any') @@ -20,12 +20,10 @@ options=(!strip) source=('OpenRA::git://github.com/OpenRA/OpenRA.git#branch=bleed' 'RA2::git://github.com/OpenRA/ra2.git' - 'D2::git://github.com/OpenRA/d2.git' - 'RA2-mod.config.patch') + 'D2::git://github.com/OpenRA/d2.git') md5sums=('SKIP' 'SKIP' - 'SKIP' - '17da3f549c51bc2d25840167cd79bbbc') + 'SKIP') pkgver() { @@ -58,7 +56,9 @@ build() { rm -r engine fi ln -s ../OpenRA engine - patch -p1 mod.config < $srcdir/RA2-mod.config.patch + #patch -p1 mod.config < $srcdir/RA2-mod.config.patch + cat mod.config | sed -e s/$SPEC_VER/'"{DEV_VERSION}"'/g > mod.config.1 + mv mod.config.1 mod.config make } diff --git a/RA2-mod.config.patch b/RA2-mod.config.patch deleted file mode 100644 index 94069a1e460c..000000000000 --- a/RA2-mod.config.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- mod.config 2017-09-08 22:13:07.274789138 -0400 -+++ mod.config.patched 2017-09-08 22:12:52.214584975 -0400 -@@ -4,7 +4,8 @@ - - MOD_ID="ra2" - --ENGINE_VERSION="4204ba" -+#ENGINE_VERSION="4204ba" -+ENGINE_VERSION="{DEV_VERSION}" - - INCLUDE_DEFAULT_MODS="False" - |