Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5b55563024e0e3727f81a38c94da42d9911e6aaf

commit 5b55563024e0e3727f81a38c94da42d9911e6aaf
Author: kikadf <[email protected]>
Date:   Thu Nov 7 16:03:41 2013 +0100

openra-20130915-1-x86_64

* Version bump

diff --git a/source/games-extra/openra/FrugalBuild 
b/source/games-extra/openra/FrugalBuild
index f8457c2..188d095 100644
--- a/source/games-extra/openra/FrugalBuild
+++ b/source/games-extra/openra/FrugalBuild
@@ -2,12 +2,14 @@
# Maintainer: kikadf <[email protected]>
# Contributor: Marius Cirsta <[email protected]>

+options+=('asneeded')
+
pkgname=openra
-pkgver=20130514
+pkgver=20130915
pkgrel=1
pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono 
and OpenGL"
url="http://openra.res0l.net/";
-depends=('mono' 'openal' 'mesa' 'freetype2' 'sdl' 'libgdiplus' 'freefont-ttf')
+depends=('mono' 'openal' 'mesa' 'freetype2' 'sdl' 'libgdiplus' 'freefont-ttf' 
'geoip')
makedepends=('unzip')
_F_github_author="OpenRA"
_F_github_name="OpenRA"
@@ -18,7 +20,12 @@ options=('nostrip')
groups=('games-extra')
archs=('i686' 'x86_64')
up2date="$up2date | sed 's/release_//'"
-sha1sums=('e19968bc2b5d86fbb7b3d67ac8d7d9cc34d77ca1')
+source=($source \
+        https://github.com/OpenRA/OpenRA/pull/3837.patch \
+        https://github.com/OpenRA/OpenRA/pull/3842.patch)
+sha1sums=('3259e8a0932639b30075b2d3b0ddc631b960a609' \
+          '93813743e8c23efb46527e9dabd2fbb5461a2d37' \
+          'a673e43bca28bc343161f36d76ef15067ecef916')

build()
{
@@ -29,7 +36,13 @@ build()
Fsed "prefix ?= /usr/local" "prefix ?= /usr" Makefile
Fsed "{VERSION}" "$pkgver" packaging/linux/openra.desktop
Fsed "{DEV_VERSION}" "release-$pkgver" mods/{ra,cnc,d2k}/mod.yaml
-       Fbuild
+
+       # Fpatchall doesn't work -> replace Fbuild
+        patch -Np1 < $Fsrcdir/3837.patch || Fdie
+        patch -Np1 < $Fsrcdir/3842.patch || Fdie
+        make || Fdie
+       Fmakeinstall
+
Ficon $_F_cd_path/packaging/linux/hicolor/128x128/apps/openra.png
Fmkdir usr/share/applications
Ffilerel packaging/linux/openra.desktop usr/share/applications/
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to