summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-11-27 20:03:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-11-27 20:03:06 +0000
commit3d8bb3f5bebd8aec0258ee362a1d73e85ac3c4ab (patch)
tree278f2fdaac1f903d9de4ae52c5a548fa6a49c8a2 /games-action
parentVersion bump (diff)
downloadgentoo-2-3d8bb3f5bebd8aec0258ee362a1d73e85ac3c4ab.tar.gz
gentoo-2-3d8bb3f5bebd8aec0258ee362a1d73e85ac3c4ab.tar.bz2
gentoo-2-3d8bb3f5bebd8aec0258ee362a1d73e85ac3c4ab.zip
version bump
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog7
-rw-r--r--games-action/atanks/atanks-5.7.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 3f23c39cf68d..5251050d1fc6 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/atanks
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.79 2012/10/22 05:31:14 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.80 2012/11/27 20:03:06 mr_bones_ Exp $
+
+*atanks-5.7 (27 Nov 2012)
+
+ 27 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> +atanks-5.7.ebuild:
+ version bump
*atanks-5.6 (22 Oct 2012)
diff --git a/games-action/atanks/atanks-5.7.ebuild b/games-action/atanks/atanks-5.7.ebuild
new file mode 100644
index 000000000000..9d790046272e
--- /dev/null
+++ b/games-action/atanks/atanks-5.7.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.7.ebuild,v 1.1 2012/11/27 20:03:06 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils gnome2-utils games
+
+DESCRIPTION="Worms and Scorched Earth-like game"
+HOMEPAGE="http://atanks.sourceforge.net/"
+SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="media-libs/allegro:0[X]"
+
+src_prepare() {
+ find . -type f -name ".directory" -exec rm -vf '{}' +
+}
+
+src_compile() {
+ emake \
+ BINDIR="${GAMES_BINDIR}" \
+ INSTALLDIR="${GAMES_DATADIR}/${PN}" \
+ || die
+}
+
+src_install() {
+ dogamesbin ${PN} || die
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r button misc missile sound stock tank tankgun text title \
+ unicode.dat *.txt || die
+ doicon -s 48 ${PN}.png
+ make_desktop_entry atanks "Atomic Tanks"
+ dodoc Changelog README TODO
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}