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

commit 1943573b424d4d338f4509d19e8d3bd64634a852
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Oct 22 09:55:42 2011 +0200

atanks-5.2-1-i686
* version bump

diff --git a/source/games-extra/atanks/FrugalBuild 
b/source/games-extra/atanks/FrugalBuild
index 97cb5c5..07e4ce1 100644
--- a/source/games-extra/atanks/FrugalBuild
+++ b/source/games-extra/atanks/FrugalBuild
@@ -2,31 +2,26 @@
# Maintainer: Devil505 <devil505li...@gmail.com>

pkgname=atanks
-pkgver=5.1
+pkgver=5.2
pkgrel=1
pkgdesc="Worms and Scorched Earth-like game"
-Finclude sourceforge
+_F_gnome_iconcache="y"
+Finclude sourceforge gnome-scriptlet
depends=('allegro' 'libstdc++' 'libxcb')
groups=('games-extra')
archs=('i686' 'x86_64')
-sha1sums=('b5c692839015992e55bb9c9eb94d75739dcb4081')
+sha1sums=('ad49d15ab8dcc0066fa88a6241e4454a5b37a444')

-_F_desktop_icon="${pkgname}.png"
-_F_desktop_name="Atomic Tanks"
-_F_desktop_categories="Game;StrategyGame;"
+build() {
+  Fcd
+  Fmake
+  make DESTDIR=$Fdestdir INSTALL="install -c" install || Fdie

-build()
-       {
-               Fmkdir /usr/bin
-               #go to source dir & compil:
-               Fcd "$pkgname-${pkgver/_/-}"
-               make INSTALLDIR=/usr/share/games/atanks || Fdie
-               make BINDIR=$Fdestdir/usr/bin/ 
INSTALLDIR=$Fdestdir/usr/share/games/atanks INSTALL="install -c" install || Fdie
-
-
-               #create another desktop entry more precise
-               Ficonrel $pkgname.png
-               Fdesktop2
-       }
+  Fsed "Name=atanks" "Name=Atomic Tanks" $pkgname.desktop
+  Fsed "Categories=Game;" "Categories=Game;StrategyGame;" $pkgname.desktop
+  Finstallrel 644 $pkgname.desktop usr/share/applications/$pkgname.desktop
+  Ficonrel $pkgname.png
+  Fbuild_gnome_scriptlet
+}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to