summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-19 16:48:23 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-20 08:40:31 -0400
commitc7fe378e72ed5eec5b6e5abf4899b1aa4a28f872 (patch)
tree478fb93b06d0c77e3b8b11202adb6662fd93a6dd /games-action
parentnet-misc/mico: drop 9999 (diff)
downloadgentoo-c7fe378e72ed5eec5b6e5abf4899b1aa4a28f872.tar.gz
gentoo-c7fe378e72ed5eec5b6e5abf4899b1aa4a28f872.tar.bz2
gentoo-c7fe378e72ed5eec5b6e5abf4899b1aa4a28f872.zip
games-action/atanks: gnome2-utils--, fix icon cache qa
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/atanks-6.5.ebuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/games-action/atanks/atanks-6.5.ebuild b/games-action/atanks/atanks-6.5.ebuild
index 1efffe797e76..0c043402a9a0 100644
--- a/games-action/atanks/atanks-6.5.ebuild
+++ b/games-action/atanks/atanks-6.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit desktop gnome2-utils toolchain-funcs
+inherit desktop toolchain-funcs
DESCRIPTION="Worms and Scorched Earth-like game"
HOMEPAGE="https://atanks.sourceforge.io/"
@@ -13,28 +13,27 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="media-libs/allegro:0[X]"
-RDEPEND="${DEPEND}"
+RDEPEND="media-libs/allegro:0[X]"
+DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/${PN}-6.4-fix-build-system.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.4-fix-build-system.patch
+)
-src_configure() {
+src_compile() {
tc-export CXX
-}
-src_compile() {
emake INSTALLDIR="${EPREFIX}/usr/share/${PN}"
}
src_install() {
dobin ${PN}
- local DOCS=( Changelog README TODO )
- einstalldocs
+ dodoc Changelog README TODO
insinto /usr/share/${PN}
doins -r button misc missile sound stock tank tankgun text title unicode.dat *.txt
- doicon -s 48 ${PN}.png
+ doicon ${PN}.png
make_desktop_entry atanks "Atomic Tanks"
}