Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=87c74f1b54eec15f0b0bfb001f223aa716a2ff90
commit 87c74f1b54eec15f0b0bfb001f223aa716a2ff90 Author: gholafox <[EMAIL PROTECTED]> Date: Wed Sep 10 22:32:59 2008 +0200 warsow-0.42-1-i686 - version bump diff --git a/source/games-extra/warsow/FrugalBuild b/source/games-extra/warsow/FrugalBuild index 77080ef..545c5ed 100644 --- a/source/games-extra/warsow/FrugalBuild +++ b/source/games-extra/warsow/FrugalBuild @@ -2,43 +2,46 @@ # Maintainer: detto <[EMAIL PROTECTED]> pkgname=warsow -pkgver=0.32 +pkgver=0.42 pkgrel=1 pkgdesc="Free online multiplayer competitive FPS based on the Qfusion engine." url="http://www.warsow.net/" -_F_desktop_name="Warsow" -_F_desktop_icon="wsw-icon_48x48.png" -_F_desktop_categories="Game" archs=('i686' 'x86_64') groups=('games-extra') makedepends=('unzip') depends=('sdl' 'openal' 'curl' 'mesa' 'libxxf86dga' 'libjpeg' 'libvorbis' 'libxinerama') -up2date=("lynx -dump $url |grep Latest |sed -e 's/.*ow \(.*\)/\1/'") -source=(http://www.67250.com/warsow/${pkgname}_${pkgver}_linux.tar.gz \ - http://www.67250.com/warsow/${pkgname}_${pkgver}_sdk.zip \ +up2date=("lynx -dump $url |grep Release: |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 \ - warsow.sh warsow_server.sh) -sha1sums=('05691ca3aea23de5280b88004a05491339a6eee6' \ - '09a9cb1d231dfdf62dc6249f9faba7760cde2e0f' \ + warsow.sh warsow_server.sh warsowtv_server.sh) +sha1sums=('2553aaf544a4a2eb02a0a875214906b0f3a076df' \ + '1b358463169cad425d4c4379d7d302888879ce09' \ '54e59b98772d11914ca6881a5c60c45698f550e6' \ 'c4b18b46e02c7e120c18427e7ace272d51680da4' \ - 'ef06eae2aded9d4f6afc2ebe85d9bf0106e1d843') + 'ef06eae2aded9d4f6afc2ebe85d9bf0106e1d843' \ + '82653c57eaa20c6542c95a6179f899692415abcc') +_F_desktop_name="Warsow" +_F_desktop_icon="wsw-icon_48x48.png" +_F_desktop_categories="Game;ActionGame;" build () { # copy the whole prebuilt warsow to pkg and remove prebuilt binaries and libs... - Fmkdir usr/share - Fcpr warsow usr/share/ - Frm usr/share/warsow/libs/ - Frm usr/share/warsow/{warsow.i386,warsow.x86_64,wsw_server.i386,wsw_server.x86_64} + 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/* # and adjust correct permissions Fdirschmod usr/ 755 Ffileschmod usr/ 644 Ffileschmod usr/share/warsow/warsow 755 Ffileschmod usr/share/warsow/wsw_server 755 + Ffileschmod usr/share/warsow/wswtv_server 755 # going to compile source... - Fcd ${pkgname}_${pkgver}/source + Fcd ${pkgname}_${pkgver}_src/source + Fpatchall Fmake DEBUG_BUILD=NO \ LOCALBASE=/usr \ X11BASE=/usr @@ -47,6 +50,7 @@ build () { # copy built binaries to pkg... Fexerel release/warsow.x86_64 usr/share/warsow/ Fexerel release/wsw_server.x86_64 usr/share/warsow/ + Fexerel release/wswtv_server.x86_64 usr/share/warsow/ # and built libs to pkg Fexerel release/libs/{irc_x86_64.so,snd_openal_x86_64.so,snd_qf_x86_64.so} usr/share/warsow/libs/ @@ -55,6 +59,7 @@ build () { # copy built binaries to pkg... Fexerel release/warsow.i386 usr/share/warsow/ Fexerel release/wsw_server.i386 usr/share/warsow/ + Fexerel release/wswtv_server.i386 usr/share/warsow/ # and built libs to pkg Fexerel release/libs/{irc_i386.so,snd_openal_i386.so,snd_qf_i386.so} usr/share/warsow/libs/ @@ -64,6 +69,7 @@ build () { # install the game and server launchers... Fexe warsow.sh /usr/bin/warsow Fexe warsow_server.sh usr/bin/warsow-server + Fexe warsowtv_server.sh usr/bin/warsowtv-server # and don't forget the shortcut and icon Ficon wsw-icon_48x48.png diff --git a/source/games-extra/warsow/warsowtv_server.sh b/source/games-extra/warsow/warsowtv_server.sh new file mode 100644 index 0000000..8bedb79 --- /dev/null +++ b/source/games-extra/warsow/warsowtv_server.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd "/usr/share/warsow/" +./wswtv_server +set fs_usehomedir 1 $* +exit $? _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git