summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/atanks')
-rw-r--r--games-action/atanks/Manifest1
-rw-r--r--games-action/atanks/atanks-6.1.ebuild52
-rw-r--r--games-action/atanks/metadata.xml8
3 files changed, 61 insertions, 0 deletions
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
new file mode 100644
index 000000000000..79f5a6e7e01a
--- /dev/null
+++ b/games-action/atanks/Manifest
@@ -0,0 +1 @@
+DIST atanks-6.1.tar.gz 2786775 SHA256 116f5160b61116729d655a9c9110a6e358e8c45b696ed0e9c347bf89ab4afaab SHA512 1463455afcd67d042fda964f9c8b0caa9627611e758cb3badb5f8080b84644ec3452b78f2160d967ed9ebf427f426594fd0c6ee661fe48a731fcee85f14a3adb WHIRLPOOL d803d6885f185e4f5645a57b1be67a918b2682f74d725b891a057b2b4be23c90507202c314c22db553f2b0593df1dace498aff5ad44a678c1f4adcfc89be22f9
diff --git a/games-action/atanks/atanks-6.1.ebuild b/games-action/atanks/atanks-6.1.ebuild
new file mode 100644
index 000000000000..ea1acef41d3c
--- /dev/null
+++ b/games-action/atanks/atanks-6.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}
diff --git a/games-action/atanks/metadata.xml b/games-action/atanks/metadata.xml
new file mode 100644
index 000000000000..b9994564225c
--- /dev/null
+++ b/games-action/atanks/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">atanks</remote-id>
+ </upstream>
+</pkgmetadata>