Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d3e08c07146320339871ce25a8c2bde17fcad214
commit d3e08c07146320339871ce25a8c2bde17fcad214 Author: Devil505 <[email protected]> Date: Sun Feb 8 23:34:02 2009 +0100 atanks-3.2-1-i686 * new package diff --git a/source/games-extra/atanks/FrugalBuild b/source/games-extra/atanks/FrugalBuild new file mode 100644 index 0000000..23a0485 --- /dev/null +++ b/source/games-extra/atanks/FrugalBuild @@ -0,0 +1,34 @@ +# Compiling Time: 0.09 SBU +# Maintainer: Devil505 <[email protected]> + +pkgname=atanks +pkgver=3.2 +pkgrel=1 +pkgdesc="Worms and Scorched Earth-like game" +_F_sourceforge_realname="$pkgname" +Finclude sourceforge +depends=('allegro' 'libstdc++' 'libxcb') +groups=('games-extra') +archs=('i686' 'x86_64') +source=($source fix_install.diff) +sha1sums=('64e9424c0e0bfe4afeedcfc40f033e4cff8d8d0f' \ + '20cbb38e3c74945a27078fb40a21b040ef724aca') + +_F_desktop_icon="${pkgname}.png" +_F_desktop_name="Atomic Tanks" +_F_desktop_categories="Game;StrategyGame;" + +build() + { + #go to source dir & compil: + Fcd $pkgname + Fbuild + + #create another desktop entry more precise + Fmkdir /usr/bin + Fwrapper "cd /usr/share/games/$pkgname && ./$pkgname" $pkgname + Ficonrel $pkgname.png + Fdesktop2 + } + +# optimization OK diff --git a/source/games-extra/atanks/fix_install.diff b/source/games-extra/atanks/fix_install.diff new file mode 100644 index 0000000..528ab94 --- /dev/null +++ b/source/games-extra/atanks/fix_install.diff @@ -0,0 +1,26 @@ +--- 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 [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
