summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-08-17 12:01:30 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-08-17 12:05:14 -0400
commita11d1bc18778d2cdaae9fea96b0a1bd5757bc466 (patch)
tree5b39c7584e7ef035d78443eb50619b24a5a14fa3 /games-action
parentnet-misc/oidentd: add 3.0.0 (diff)
downloadgentoo-a11d1bc18778d2cdaae9fea96b0a1bd5757bc466.tar.gz
gentoo-a11d1bc18778d2cdaae9fea96b0a1bd5757bc466.tar.bz2
gentoo-a11d1bc18778d2cdaae9fea96b0a1bd5757bc466.zip
games-action/atanks: add 6.6
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/Manifest1
-rw-r--r--games-action/atanks/atanks-6.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index 6aa3da363406..34b4e327c21e 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1 +1,2 @@
DIST atanks-6.5.tar.gz 6059648 BLAKE2B 8a5c3e77391d0e7b3dc8170f49e2cd24fb31eda6f29362851d29eba5dc10748d2b95bfb688771fbbdaac4aada253f06c5ce4064e293335ef59cc8accc43a64a0 SHA512 cb1456e06132da754ae5d9926e118ecb8ac7789747f0a3273bcb49311d79824610bb9cfc74fbba8c75bbefe905d63ae2e01d193ccb37a64759f5490328c8cc89
+DIST atanks-6.6.tar.gz 6220197 BLAKE2B ea9cd2ec736a2fb3f500cb8964a60549b1d28801b0b7c5ea742b3c6c18515df8c9dc6da95119a0d0fbcda2b61384737bd2402451cd7a223f31e69503c5d09da0 SHA512 dac0ef961bffda5e0f8b65d4cbbd46c2a93baea06a3cd453a5295491feda69781deb7a868fac11ffdfc29e9e2c5bbea11a309ea1af8d05e794ab184750a686f9
diff --git a/games-action/atanks/atanks-6.6.ebuild b/games-action/atanks/atanks-6.6.ebuild
new file mode 100644
index 000000000000..0c043402a9a0
--- /dev/null
+++ b/games-action/atanks/atanks-6.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Worms and Scorched Earth-like game"
+HOMEPAGE="https://atanks.sourceforge.io/"
+SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-libs/allegro:0[X]"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.4-fix-build-system.patch
+)
+
+src_compile() {
+ tc-export CXX
+
+ emake INSTALLDIR="${EPREFIX}/usr/share/${PN}"
+}
+
+src_install() {
+ dobin ${PN}
+
+ dodoc Changelog README TODO
+
+ insinto /usr/share/${PN}
+ doins -r button misc missile sound stock tank tankgun text title unicode.dat *.txt
+
+ doicon ${PN}.png
+ make_desktop_entry atanks "Atomic Tanks"
+}