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

commit 7f8b60b2b1e97817bd2590a69824bccd859130e1
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Jul 18 11:51:32 2009 +0200

atanks-3.7-1-i686
* version bump
* fixing up2date
* build part modified
* drop useless patch

diff --git a/source/games-extra/atanks/FrugalBuild 
b/source/games-extra/atanks/FrugalBuild
index 23a0485..f84228b 100644
--- a/source/games-extra/atanks/FrugalBuild
+++ b/source/games-extra/atanks/FrugalBuild
@@ -2,17 +2,15 @@
# Maintainer: Devil505 <devil505li...@gmail.com>

pkgname=atanks
-pkgver=3.2
+pkgver=3.7
pkgrel=1
pkgdesc="Worms and Scorched Earth-like game"
-_F_sourceforge_realname="$pkgname"
+_F_sourceforge_ext="-stable.tar.gz"
Finclude sourceforge
depends=('allegro' 'libstdc++' 'libxcb')
groups=('games-extra')
archs=('i686' 'x86_64')
-source=($source fix_install.diff)
-sha1sums=('64e9424c0e0bfe4afeedcfc40f033e4cff8d8d0f' \
-          '20cbb38e3c74945a27078fb40a21b040ef724aca')
+sha1sums=('2bf79c6ffd38fc35c6bbbf2ad487268c697a66cf')

_F_desktop_icon="${pkgname}.png"
_F_desktop_name="Atomic Tanks"
@@ -20,13 +18,14 @@ _F_desktop_categories="Game;StrategyGame;"

build()
{
+               Fmkdir /usr/bin
#go to source dir & compil:
-               Fcd $pkgname
-               Fbuild
+               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
-               Fmkdir /usr/bin
-               Fwrapper "cd /usr/share/games/$pkgname && ./$pkgname" $pkgname
Ficonrel $pkgname.png
Fdesktop2
}
diff --git a/source/games-extra/atanks/fix_install.diff 
b/source/games-extra/atanks/fix_install.diff
deleted file mode 100644
index 528ab94..0000000
--- a/source/games-extra/atanks/fix_install.diff
+++ /dev/null
@@ -1,26 +0,0 @@
---- Makefile   2008-03-23 21:01:40.000000000 +0100
-+++ Makefile1  2009-02-08 21:49:58.000000000 +0100
-@@ -1,17 +1,18 @@
- VERSION=2.8
- export VERSION
- FILENAME=atanks-${VERSION}
-+prefix=/usr
- INSTALL=/usr/bin/install -c
--DISTCOMMON=atanks/*.dat atanks/COPYING atanks/README atanks/TODO 
atanks/Changelog atanks/BUGS atanks/Help.txt atanks/credits.txt 
atanks/gloat.txt atanks/instr.txt atanks/revenge.txt atanks/suicide.txt 
atanks/gloat.pt_BR.txt atanks/Help.pt_BR.txt atanks/revenge.pt_BR.txt 
atanks/suicide.pt_BR.txt atanks/revenge_fr.txt atanks/gloat_fr.txt 
atanks/suicide_fr.txt atanks/weapons.txt
--INCOMMON=*.dat COPYING README TODO Changelog *.txt
-+DISTCOMMON=atanks/*.dat atanks/BUGS atanks/Help.txt atanks/credits.txt 
atanks/gloat.txt atanks/instr.txt atanks/revenge.txt atanks/suicide.txt 
atanks/gloat.pt_BR.txt atanks/Help.pt_BR.txt atanks/revenge.pt_BR.txt 
atanks/suicide.pt_BR.txt atanks/revenge_fr.txt atanks/gloat_fr.txt 
atanks/suicide_fr.txt atanks/weapons.txt
-+INCOMMON=*.dat *.txt
-
- all:
-       $(MAKE) -C src
-
- install: all
--      $(INSTALL) -g 0 -m 755 -o 0 atanks /usr/bin
--      mkdir -p /usr/share/games/atanks
--      $(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) /usr/share/games/atanks
-+      mkdir -p ${prefix}/share/games/atanks
-+      $(INSTALL) -g 0 -m 755 -o 0 atanks ${prefix}/share/games/atanks
-+      $(INSTALL) -g 0 -m 644 -o 0 $(INCOMMON) ${prefix}/share/games/atanks
- clean:
-       rm -f atanks
-       $(MAKE) -C src clean
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to