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

commit 662d1b863b84559b3a64be5c48b7ff120082af10
Author: Devil505 <[email protected]>
Date:   Sun Nov 6 16:22:35 2011 +0100

foobillardplus-3.41beta-1-i686
* new package (will replace foobilard)

diff --git a/source/games-extra/foobillardplus/FrugalBuild 
b/source/games-extra/foobillardplus/FrugalBuild
new file mode 100644
index 0000000..cbee6fc
--- /dev/null
+++ b/source/games-extra/foobillardplus/FrugalBuild
@@ -0,0 +1,30 @@
+# Compiling Time: 0.06 SBU
+# Maintainer: Devil505 <[email protected]>
+
+pkgname=foobillardplus
+pkgver=3.41beta
+pkgrel=1
+pkgdesc="An OpenGL billiard game"
+depends=('bzip2' 'freetype2' 'libpng' 'mesa' 'sdl_net')
+groups=('games-extra')
+archs=('i686' 'x86_64')
+Finclude sourceforge
+sha1sums=('41d6db473557386ffeacd98b9a2ee26198e42c6a')
+replaces=('foobillard')
+
+build() {
+       Fcd
+       Fsed "$prefix/foobillardplus" "$prefix" configure
+       Fsed "$prefix/data" "$prefix/share/foobillardplus" configure
+       Fsed '"/data"' '"/share/foobillardplus"' src/language.c
+       Fsed "/opt/foobillardplus/bin/" "" foobillardplus.desktop
+       Fsed "/opt/foobillardplus/" "" foobillardplus.desktop
+       Fmake
+       Fexerel src/$pkgname usr/bin/$pkgname
+       Fmkdir usr/share/$pkgname
+       cp -R data/* $Fdestdir/usr/share/$pkgname || Fdie
+       Finstallrel 644 $pkgname.desktop usr/share/applications/$pkgname.desktop
+       Ficonrel $pkgname.png
+       Ficonrel $pkgname.xbm
+       find "$Fdestdir" -depth  -type d -name .svn -exec rm -rf  {} \;
+}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to