commit:     c7fe378e72ed5eec5b6e5abf4899b1aa4a28f872
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 19 20:48:23 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Jun 20 12:40:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7fe378e

games-action/atanks: gnome2-utils--, fix icon cache qa

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-action/atanks/atanks-6.5.ebuild | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/games-action/atanks/atanks-6.5.ebuild 
b/games-action/atanks/atanks-6.5.ebuild
index 1efffe797e7..0c043402a9a 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"
 }

Reply via email to