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

commit 50e843b2d7dd7b8f16d98f6a1ee9f870935a9469
Author: Michel Hermier <herm...@frugalware.org>
Date:   Sun May 17 16:54:14 2009 +0200

quake3-1.36-1-i686

* Fix odd versionning (removed sound version and arch)
* Fixed indent, and use the documented pkgextraver

diff --git a/source/games-extra/quake3/FrugalBuild 
b/source/games-extra/quake3/FrugalBuild
index 93352fd..43cb050 100644
--- a/source/games-extra/quake3/FrugalBuild
+++ b/source/games-extra/quake3/FrugalBuild
@@ -2,9 +2,9 @@
# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com>

pkgname=quake3
-pkgver=1.36_7.1
-extraver=i386
-pkgrel=2
+pkgver=1.36
+pkgextraver=-7.1.i386
+pkgrel=1
pkgdesc="The stock Quake 3 Arena binaries with ALSA and PunkBuster support."
url="http://www.quake3arena.com";
purl="http://ioquake3.org/files/1.36";
@@ -12,8 +12,9 @@ archs=('i686')
groups=('games-extra')
depends=('libglx' 'libxext' 'sdl' 'openal>=1.7.411')
_F_archive_name="ioquake3"
-up2date="lynx -dump 'http://ioquake3.org/get-it/' | grep 
'http://.*$extraver.run$' | sed 's/.*3-\(.*\).$extraver.run/\1/g; s/-/_/g'"
-source=($purl/installer/$_F_archive_name-${pkgver//_/-}.$extraver.run \
+_F_archive_grep="i386" # Filter out other arch
+up2date="Flastarchive http://ioquake3.org/get-it/ '\.run'"
+source=($purl/installer/$_F_archive_name-$pkgver$pkgextraver.run \
ftp://ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run \
$purl/data/$_F_archive_name-q3a-1.32-9.run \
q3ded.launcher quake3.launcher)
@@ -28,36 +29,36 @@ _F_desktop_categories="Game;"
options=('nobuild')

build () {
-               # prepare src and pkg dirs
-               mkdir {ioquake3,ioquake3data,linuxq3apoint} || Fdie
-               Fmkdir usr/share/games/quake3/{baseq3,missionpack}
-
-               # extract official pk3's and ioquak3 executables & libs
-               chmod +x $_F_archive_name-${pkgver//_/-}.$extraver.run
-               chmod +x $_F_archive_name-q3a-1.32-9.run
-               chmod +x linuxq3apoint-1.32b-3.x86.run
-               ./$_F_archive_name-q3a-1.32-9.run --tar xf -C ioquake3data
-               ./$_F_archive_name-${pkgver//_/-}.$extraver.run --tar xf -C 
ioquake3
-               tar xf ioquake3/ioquake3.i386.tar -C ioquake3
-               ./linuxq3apoint-1.32b-3.x86.run --tar xf -C linuxq3apoint
-
-               # copy it
-               Ffile linuxq3apoint/baseq3/* usr/share/games/quake3/baseq3
-               Ffile linuxq3apoint/missionpack/* 
usr/share/games/quake3/missionpack
-               Ffile ioquake3/baseq3/* usr/share/games/quake3/baseq3
-               Ffile ioquake3/missionpack/* usr/share/games/quake3/missionpack
-
-               # punkbuster support
-               Fcp linuxq3apoint/pb usr/share/games/quake3
-               Fdirschown usr/share/games/quake3/pb root root
-               Ffileschown usr/share/games/quake3/pb root root
-
-               # executables
-               Fexe ioquake3/{ioq3ded.i386,ioquake3.i386} 
usr/share/games/quake3
-               Fexe quake3.launcher usr/bin/quake3
-               Fexe q3ded.launcher usr/bin/q3ded
-
-               # menu entry
-               Ficon ioquake3/quake3.png
-               Fdesktop2
+       # prepare src and pkg dirs
+       mkdir {ioquake3,ioquake3data,linuxq3apoint} || Fdie
+       Fmkdir usr/share/games/quake3/{baseq3,missionpack}
+
+       # extract official pk3's and ioquak3 executables & libs
+       chmod +x $_F_archive_name-$pkgver$pkgextraver.run
+       chmod +x $_F_archive_name-q3a-1.32-9.run
+       chmod +x linuxq3apoint-1.32b-3.x86.run
+       ./$_F_archive_name-q3a-1.32-9.run --tar xf -C ioquake3data
+       ./$_F_archive_name-$pkgver$pkgextraver.run --tar xf -C ioquake3
+       tar xf ioquake3/ioquake3.i386.tar -C ioquake3
+       ./linuxq3apoint-1.32b-3.x86.run --tar xf -C linuxq3apoint
+
+       # copy it
+       Ffile linuxq3apoint/baseq3/* usr/share/games/quake3/baseq3
+       Ffile linuxq3apoint/missionpack/* usr/share/games/quake3/missionpack
+       Ffile ioquake3/baseq3/* usr/share/games/quake3/baseq3
+       Ffile ioquake3/missionpack/* usr/share/games/quake3/missionpack
+
+       # punkbuster support
+       Fcp linuxq3apoint/pb usr/share/games/quake3
+       Fdirschown usr/share/games/quake3/pb root root
+       Ffileschown usr/share/games/quake3/pb root root
+
+       # executables
+       Fexe ioquake3/{ioq3ded.i386,ioquake3.i386} usr/share/games/quake3
+       Fexe quake3.launcher usr/bin/quake3
+       Fexe q3ded.launcher usr/bin/q3ded
+
+       # menu entry
+       Ficon ioquake3/quake3.png
+       Fdesktop2
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to