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

commit 54d18526c89de18ccad57ae3ab0b68d94c0cdaa8
Author: Devil505 <devil505li...@gmail.com>
Date:   Fri Jun 4 22:39:26 2010 +0200

alienarena-20100504-1-i686
* new nobuild package

diff --git a/source/games-extra/alienarena/FrugalBuild 
b/source/games-extra/alienarena/FrugalBuild
new file mode 100644
index 0000000..9541ab0
--- /dev/null
+++ b/source/games-extra/alienarena/FrugalBuild
@@ -0,0 +1,56 @@
+# Compiling Time: 0.25 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=alienarena
+pkgver=20100504
+pkgrel=1
+gamever=7_40
+pkgdesc="Multiplayer retro sci-fi deathmatch game"
+url='http://icculus.org/alienarena/rpa/'
+depends=('curl' 'libgl' 'libjpeg' 'libxxf86dga' 'libxxf86vm' 'libvorbis' 'sdl' 
'openal' 'freeglut')
+makedepends=('pkgconfig' 'unzip' 'hd2u')
+groups=('games-extra')
+options=('nobuild')
+archs=('i686')
+up2date="Flastarchive http://icculus.org/alienarena/Files/ .zip | sed 
's/linux//g'"
+source=(http://icculus.org/alienarena/Files/${pkgname}-linux${pkgver}.zip)
+sha1sums=('118b3d469c7462f7838950ff319ca39b107706b2')
+
+_F_desktop_name="Alien Arena"
+_F_desktop_desc="Multiplayer retro sci-fi deathmatch"
+_F_desktop_icon="$pkgname"
+_F_desktop_categories="Game;ActionGame;"
+
+build() {
+    Fcd "${pkgname}${gamever}/source"
+
+    make PREFIX=/usr \
+       WITH_DATADIR=yes WITH_LIBDIR=yes \
+       DATADIR="/usr/share/$pkgname" LIBDIR="$/usr/lib/$pkgname" \
+     || Fdie
+
+
+    Finstallrel 755 release/game.so /usr/lib/$pkgname/arena/game.so
+    Fexerel release/crx usr/bin/$pkgname
+    Fexerel release/crded usr/bin/${pkgname}-ded
+
+    cd .. || Fdie
+
+    # Data files
+    find arena botinfo data1 -type f | while read _f ; do
+    install -D -m644 "$_f" "$Fdestdir//usr/share/$pkgname/$_f" || Fdie
+    done
+
+    # Desktop entry
+    Finstallrel 644 aa.png usr/share/pixmaps/$pkgname.png
+    Fdesktop2
+
+    # Docs
+    pwd
+    cd docs  || Fdie
+    dos2unix readme.txt  || Fdie
+    Fdocrel {license,readme}.txt
+}
+
+
+# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to