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

commit c237e5aa6bb244c8b0480f44eb2b71b7a0d9671a
Author: gholafox <ghola...@free.fr>
Date:   Thu Nov 19 13:47:56 2009 +0100

warsow-0.5-1-i686

* Fix up2datde
* Add icon
* Version bump

diff --git a/source/games-extra/warsow/FrugalBuild 
b/source/games-extra/warsow/FrugalBuild
index 1d2fe37..7ac1fc3 100644
--- a/source/games-extra/warsow/FrugalBuild
+++ b/source/games-extra/warsow/FrugalBuild
@@ -1,22 +1,22 @@
-# Compiling Time: 0.22 SBU
+# Compiling Time: 0.97 SBU
# Maintainer: detto <dett...@freenet.de>

pkgname=warsow
-pkgver=0.42
-pkgrel=3
+pkgver=0.5
+pkgrel=1
pkgdesc="Free online multiplayer competitive FPS based on the Qfusion engine."
url="http://www.warsow.net/";
archs=('i686' 'x86_64')
groups=('games-extra')
makedepends=('unzip')
depends=('sdl' 'openal>=1.7.411' 'curl>=7.19.0' 'mesa' 'libxxf86dga' 'libjpeg' 
'libvorbis' 'libxinerama')
-up2date=("lynx -dump $url |grep Release: |sed -e 's/.*ow \(.*\)/\1/'")
+up2date=("lynx -dump $url?page=download |grep  Warsow\  |sed -e 's/.*ow 
\(.*\)/\1/'")
source=(http://data.rodix.free.fr/${pkgname}/files/${pkgname}_${pkgver}_unified.zip
 \
http://data.rodix.free.fr/${pkgname}/files/${pkgname}_${pkgver}_sdk.zip \
-       http://mitglied.lycos.de/r3360/warsow/wsw-icon/wsw-icon_48x48.png \
+       wsw-icon_48x48.png \
warsow.sh warsow_server.sh warsowtv_server.sh)
-sha1sums=('2553aaf544a4a2eb02a0a875214906b0f3a076df' \
-          '1b358463169cad425d4c4379d7d302888879ce09' \
+sha1sums=('71b9b9b43578ad2ccc9b73fe5435dd018faf7772' \
+          'faa58805b0aedfb5b44e35cd21384088314d2be3' \
'54e59b98772d11914ca6881a5c60c45698f550e6' \
'c4b18b46e02c7e120c18427e7ace272d51680da4' \
'ef06eae2aded9d4f6afc2ebe85d9bf0106e1d843' \
@@ -28,9 +28,10 @@ _F_desktop_categories="Game;ActionGame;"
build () {
# copy the whole prebuilt warsow to pkg and remove prebuilt binaries and libs...
Fmkdir usr/share/${pkgname}
-       mv $Fsrcdir/${pkgname}_${pkgver}_unified/basewsw 
$Fdestdir/usr/share/${pkgname} | Fdie
-       Ffilerel ${pkgname}_${pkgver}_unified/{warsow,wsw_server,wswtv_server} 
/usr/share/${pkgname}
-       Fdocrel ${pkgname}_${pkgver}_unified/docs/*
+       unzip ${pkgname}_${pkgver}_unified.zip -d ${pkgname}_unified
+       mv $Fsrcdir/${pkgname}_unified/basewsw $Fdestdir/usr/share/${pkgname} 
|| Fdie
+       Ffilerel ${pkgname}_unified/{warsow,wsw_server,wswtv_server} 
/usr/share/${pkgname}
+       Fdocrel ${pkgname}_unified/docs/*

# and adjust correct permissions
Fdirschmod usr/ 755
@@ -40,11 +41,12 @@ build () {
Ffileschmod usr/share/warsow/wswtv_server 755

# going to compile source...
-       Fcd ${pkgname}_${pkgver}_src/source
-       Fpatchall
+       unzip ${pkgname}_${pkgver}_sdk.zip -d ${pkgname}_sdk
+       Fcd ${pkgname}_sdk/source
Fmake DEBUG_BUILD=NO \
LOCALBASE=/usr \
-               X11BASE=/usr
+               X11BASE=/usr \
+               CFLAGS_RELEASE=${CFLAGS} -ffast-math -funroll-loops -DNDEBUG

if [ "$CARCH" = "x86_64" ]; then
# copy built binaries to pkg...
diff --git a/source/games-extra/warsow/wsw-icon_48x48.png 
b/source/games-extra/warsow/wsw-icon_48x48.png
new file mode 100644
index 0000000..ded5976
Binary files /dev/null and b/source/games-extra/warsow/wsw-icon_48x48.png differ
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to