Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=05b2e6c479cf585e2e9df9741aa4dd2af78b1f58

commit 05b2e6c479cf585e2e9df9741aa4dd2af78b1f58
Author: Marius Cirsta <mcir...@frugalware.org>
Date:   Fri Sep 30 00:18:23 2011 +0000

openra-20110906-1-x86_64

* changed m8r
* build from source

diff --git a/source/games-extra/openra/FrugalBuild 
b/source/games-extra/openra/FrugalBuild
index 1450f2f..be65166 100644
--- a/source/games-extra/openra/FrugalBuild
+++ b/source/games-extra/openra/FrugalBuild
@@ -1,22 +1,31 @@
-# Compiling Time: 0 SBU
-# Maintainer: kikadf <kikadf...@gmail.com>
+# Compiling Time: 0.10 SBU
+# Maintainer: Marius Cirsta <mcir...@frugalware.org>

pkgname=openra
pkgver=20110906
pkgrel=1
-pkgdesc="OpenRA is a Libre/Free Real Time Strategy game engine supporting 
early Westwood games like Command & Conquer and Command & Conquer: Red Alert."
+pkgdesc="An open-source implementation of the Red Alert engine using .NET/mono 
and OpenGL"
url="http://openra.res0l.net/";
-rodepends=('mono' 'openal' 'mesa' 'freetype2' 'sdl')
+depends=('mono' 'openal' 'mesa' 'freetype2' 'sdl' 'libgdiplus')
+makedepends=('unzip')
groups=('games-extra')
archs=('i686' 'x86_64')
-up2date="lynx -dump $url | grep Release | cut -d ' ' -f 8 | head -1"
-source=($url/assets/downloads/linux/arch/$pkgname-release.$pkgver-1-any.pkg.tar.xz)
-options=('nobuild')
-sha1sums=('fed253dc09bddcc15ea0d107ac4d031404cbeeb2')
+up2date="lynx --dump http://openra.res0l.net/download/linux/deb/ | grep 
'([[:digit:]]\{8,8\}' | sed 's/\ *(\([[:digit:]]*\).*/\1/'"
+source=("https://github.com/OpenRA/OpenRA/zipball/release-$pkgver";)
+sha1sums=('659164c2ae6928ac5919e7bb3c3eb67f123809aa')

build()
{
-       Fexe usr/bin/$pkgname usr/bin/$pkgname
-       Fcprel usr/share usr/
+       Fexec unzip -o -q release-$pkgver
+       Fcd OpenRA-OpenRA-*
+       Fsed "prefix = /usr/local" "prefix = /usr" Makefile
+       Fbuild
+       mv "$Fdestdir/usr/share/openra/thirdparty/Tao/"* 
"$Fdestdir/usr/share/openra/"
+        rm -r "$Fdestdir/usr/share/openra/thirdparty"
+       Ficon OpenRA-OpenRA-*/packaging/linux/hicolor/128x128/apps/openra.png
+       Fsed "Icon=openra" "Icon=/usr/share/pixmaps/openra.png" 
packaging/linux/openra.desktop
+       Fmkdir usr/share/applications
+       Finstallrel 644 packaging/linux/openra.desktop usr/share/applications/
}

+# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to