From 796cae72cf9ed18ba01256ac1f83a686a2a76036 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Nov 2017 18:45:28 +0000 Subject: gentoo resync : 20.11.2017 --- games-action/atanks/atanks-6.4-r1.ebuild | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'games-action/atanks/atanks-6.4-r1.ebuild') diff --git a/games-action/atanks/atanks-6.4-r1.ebuild b/games-action/atanks/atanks-6.4-r1.ebuild index d17df9c83dc6..ed2deed79042 100644 --- a/games-action/atanks/atanks-6.4-r1.ebuild +++ b/games-action/atanks/atanks-6.4-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils gnome2-utils + +inherit eutils gnome2-utils toolchain-funcs DESCRIPTION="Worms and Scorched Earth-like game" HOMEPAGE="http://atanks.sourceforge.net/" @@ -16,18 +17,27 @@ IUSE="" DEPEND="media-libs/allegro:0[X]" RDEPEND=${DEPEND} +PATCHES=( "${FILESDIR}"/${PN}-6.4-fix-build-system.patch ) + +src_configure() { + tc-export CXX +} + src_compile() { emake \ - INSTALLDIR="/usr/share/${PN}" + INSTALLDIR="${EPREFIX}/usr/share/${PN}" } src_install() { dobin ${PN} + local DOCS=( Changelog README TODO ) + einstalldocs + insinto /usr/share/${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 } pkg_preinst() { -- cgit v1.2.3