From c9d804706bccebad53ec32ec47f4714d2327f808 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 23 Apr 2014 21:11:10 +0000 Subject: version bump (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit) --- games-action/atanks/ChangeLog | 9 ++++-- games-action/atanks/atanks-5.9.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 games-action/atanks/atanks-5.9.ebuild (limited to 'games-action/atanks') diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog index b6e26bd07f0c..098e522521f3 100644 --- a/games-action/atanks/ChangeLog +++ b/games-action/atanks/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-action/atanks -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.85 2013/01/30 21:49:04 mr_bones_ Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.86 2014/04/23 21:11:10 mr_bones_ Exp $ + +*atanks-5.9 (23 Apr 2014) + + 23 Apr 2014; Michael Sterrett +atanks-5.9.ebuild: + version bump 30 Jan 2013; Michael Sterrett -atanks-5.4.ebuild: old diff --git a/games-action/atanks/atanks-5.9.ebuild b/games-action/atanks/atanks-5.9.ebuild new file mode 100644 index 000000000000..ac09f185c62a --- /dev/null +++ b/games-action/atanks/atanks-5.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.9.ebuild,v 1.1 2014/04/23 21:11:10 mr_bones_ Exp $ + +EAPI=5 +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]" +RDEPEND="${DEPEND}" + +src_prepare() { + find . -type f -name ".directory" -exec rm -vf '{}' + +} + +src_compile() { + emake \ + BINDIR="${GAMES_BINDIR}" \ + INSTALLDIR="${GAMES_DATADIR}/${PN}" +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r button misc missile sound stock tank tankgun text title unicode.dat *.txt + 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 +} -- cgit v1.2.3-65-gdbad