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

commit a31430262ae3ba84db90876a1d658b3b4b577451
Author: crazy <[EMAIL PROTECTED]>
Date:   Sun May 25 14:44:50 2008 +0200

nexuiz-2.4.2-1-x86_64
* Version bump
* added x86_64 to archs
* up2date fix
* added TODO to compile this from source

diff --git a/source/games-extra/nexuiz/FrugalBuild 
b/source/games-extra/nexuiz/FrugalBuild
index d01e664..eddae0a 100644
--- a/source/games-extra/nexuiz/FrugalBuild
+++ b/source/games-extra/nexuiz/FrugalBuild
@@ -2,21 +2,21 @@
# Maintainer: AlexExtreme <[EMAIL PROTECTED]>

pkgname=nexuiz
-pkgver=23
_F_sourceforge_ext=".zip"
+_F_sourceforge_pkgver="242"
Finclude sourceforge
-pkgver=2.3
+pkgver=2.4.2
pkgrel=1
pkgdesc="Nexuiz is a 3d deathmatch game."
depends=('sdl' 'libx11' 'libgl' 'libglx' 'mesa' 'alsa-lib' 'libxau' 'libxcb' 
'libxdmcp')
groups=('games-extra')
-archs=('i686')
+archs=('i686' 'x86_64')
url="http://www.alientrap.org/nexuiz/";
-up2date="lynx -dump http://www.alientrap.org/nexuiz/index.php?module=downloads 
| grep 'Release' | sed 's/.*z \(.*\) .*/\1/'"
+up2date="lynx -dump http://www.alientrap.org/nexuiz/index.php?module=downloads 
| grep -m1 -i 'Released' | sed 's/.*z \(.*\) .*/\1/'"
source=([EMAIL PROTECTED] nexuiz.png nexuiz-glx nexuiz-sdl)
-sha1sums=('ec7c7d85d69bb101b4281cfb7847547bae08bc81'\
-          '30e5d88fedb6f83f4d8ef2864daba239418d7a5e'\
-          '4850c62fb9a9f08589d1ea345ee0049818f98615'\
+sha1sums=('387e76889699ef5b7f6ee115833284597410a7ac' \
+          '30e5d88fedb6f83f4d8ef2864daba239418d7a5e' \
+          '4850c62fb9a9f08589d1ea345ee0049818f98615' \
'02c2d23f15363cf6442e6bd6df74e6615f4060f6')
_F_cd_path="Nexuiz"
_F_desktop_filename="nexuiz-sdl"
@@ -31,52 +31,54 @@ Finclude gnome-scriptlet
build() {
Fcd
Fmkdir /usr/lib
-
-       # Don't need the sources
+
+       ## TODO: compile from source
rm -rf sources || Fdie
-
+
# Die Mac OS X
rm -rf Nexuiz.app || Fdie
rm -rf Nexuiz-SDL.app || Fdie
rm -f nexuiz-osx-ppc-dedicated || Fdie
-
+       rm -rf nexuiz-osx-dedicated || Fdie
+
# Die Windows
rm -f *.exe *.dll *.bat || Fdie
-
+
# Install the documentation
Fmkdir /usr/share/doc
Fcpr Nexuiz/Docs /usr/share/doc/$pkgname-$pkgver
Fcpr Nexuiz/gpl.txt /usr/share/doc/$pkgname-$pkgver/
-
+       Frm usr/share/doc/$pkgname-$pkgver/server/{*bat,*mac*}
+
# Get rid of the docs from the tree
rm -rf Docs || Fdie
rm -f gpl.txt || Fdie
-
+
# Install the binaries for the appropriate arch
if [ "$CARCH" == "x86_64" ]; then
rm -f *-686-*
else
rm -f *-x86_64-*
fi
-
+
cd $Fsrcdir || Fdie
Fcpr Nexuiz /usr/lib/nexuiz
-
+
# Executable in /usr/bin
Fmkdir /usr/bin
Fexe /usr/bin/nexuiz-glx
Fexe /usr/bin/nexuiz-sdl
-
+
# Icon and .desktop file
Ficon nexuiz.png
Fdesktop2
-
+
# Reset for GLX version
_F_desktop_filename="nexuiz-glx"
_F_desktop_name="Nexuiz (GLX version)"
_F_desktop_desc="Nexuiz 3D deathmatch game (GLX version)"
_F_desktop_exec="/usr/bin/nexuiz-glx"
Fdesktop2
-
+
Fbuild_gnome_scriptlet
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to