Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/atanks: atanks-5.7.ebuild ChangeLog
Date: Tue, 27 Nov 2012 20:03:18
Message-Id: 20121127200306.DC3AF20C65@flycatcher.gentoo.org
1 mr_bones_ 12/11/27 20:03:06
2
3 Modified: ChangeLog
4 Added: atanks-5.7.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.80 games-action/atanks/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/atanks/ChangeLog?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/atanks/ChangeLog?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/atanks/ChangeLog?r1=1.79&r2=1.80
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- ChangeLog 22 Oct 2012 05:31:14 -0000 1.79
24 +++ ChangeLog 27 Nov 2012 20:03:06 -0000 1.80
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-action/atanks
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.79 2012/10/22 05:31:14 mr_bones_ Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.80 2012/11/27 20:03:06 mr_bones_ Exp $
30 +
31 +*atanks-5.7 (27 Nov 2012)
32 +
33 + 27 Nov 2012; Michael Sterrett <mr_bones_@g.o> +atanks-5.7.ebuild:
34 + version bump
35
36 *atanks-5.6 (22 Oct 2012)
37
38
39
40
41 1.1 games-action/atanks/atanks-5.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/atanks/atanks-5.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/atanks/atanks-5.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: atanks-5.7.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.7.ebuild,v 1.1 2012/11/27 20:03:06 mr_bones_ Exp $
51
52 EAPI=2
53 inherit eutils gnome2-utils games
54
55 DESCRIPTION="Worms and Scorched Earth-like game"
56 HOMEPAGE="http://atanks.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63
64 DEPEND="media-libs/allegro:0[X]"
65
66 src_prepare() {
67 find . -type f -name ".directory" -exec rm -vf '{}' +
68 }
69
70 src_compile() {
71 emake \
72 BINDIR="${GAMES_BINDIR}" \
73 INSTALLDIR="${GAMES_DATADIR}/${PN}" \
74 || die
75 }
76
77 src_install() {
78 dogamesbin ${PN} || die
79 insinto "${GAMES_DATADIR}"/${PN}
80 doins -r button misc missile sound stock tank tankgun text title \
81 unicode.dat *.txt || die
82 doicon -s 48 ${PN}.png
83 make_desktop_entry atanks "Atomic Tanks"
84 dodoc Changelog README TODO
85 prepgamesdirs
86 }
87
88 pkg_preinst() {
89 games_pkg_preinst
90 gnome2_icon_savelist
91 }
92
93 pkg_postinst() {
94 games_pkg_postinst
95 gnome2_icon_cache_update
96 }
97
98 pkg_postrm() {
99 gnome2_icon_cache_update
100 }