From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B40781382C5 for ; Mon, 19 Apr 2021 01:13:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01DACE07FA; Mon, 19 Apr 2021 01:13:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE813E07FA for ; Mon, 19 Apr 2021 01:13:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B00D5340DFE for ; Mon, 19 Apr 2021 01:13:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D9F16EB for ; Mon, 19 Apr 2021 01:13:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1618794815.653ce46d877fe283ef9fa4f20ccec5d1761c8d5a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/domination/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/domination/domination-1.1.1.6-r1.ebuild games-board/domination/domination-1.1.1.6-r2.ebuild X-VCS-Directories: games-board/domination/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 653ce46d877fe283ef9fa4f20ccec5d1761c8d5a X-VCS-Branch: master Date: Mon, 19 Apr 2021 01:13:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d88f3b0-c360-438a-aa46-f4e47e2cad4f X-Archives-Hash: 55dedf245d10dc930c722812618ef534 commit: 653ce46d877fe283ef9fa4f20ccec5d1761c8d5a Author: Sam James gentoo org> AuthorDate: Mon Apr 19 01:06:42 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Apr 19 01:13:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653ce46d games-board/domination: port to EAPI 7 Signed-off-by: Sam James gentoo.org> ....1.6-r1.ebuild => domination-1.1.1.6-r2.ebuild} | 30 ++++++++++------------ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/games-board/domination/domination-1.1.1.6-r1.ebuild b/games-board/domination/domination-1.1.1.6-r2.ebuild similarity index 61% rename from games-board/domination/domination-1.1.1.6-r1.ebuild rename to games-board/domination/domination-1.1.1.6-r2.ebuild index e7b92e172bd..3b6305ecf8a 100644 --- a/games-board/domination/domination-1.1.1.6-r1.ebuild +++ b/games-board/domination/domination-1.1.1.6-r2.ebuild @@ -1,25 +1,23 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils java-pkg-2 java-ant-2 +EAPI=7 + +EANT_BUILD_TARGET="game" +inherit desktop java-pkg-2 java-ant-2 DESCRIPTION="The well-known board game, written in java" HOMEPAGE="http://domination.sourceforge.net" SRC_URI="mirror://sourceforge/domination/Domination_${PV}.zip" +S="${WORKDIR}"/Domination LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=virtual/jre-1.5" -DEPEND=">=virtual/jdk-1.5 - app-arch/unzip" -S=${WORKDIR}/Domination - -EANT_BUILD_TARGET="game" +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=">=virtual/jdk-1.8:*" +BDEPEND="app-arch/unzip" pkg_setup() { java-pkg-2_pkg_setup @@ -33,14 +31,14 @@ src_install() { newbin "${S}"/FlashGUI.sh ${PN} sed -i \ -e "s|cd.*|cd \"/usr/share\"/${PN}|" \ - "${D}/usr/bin"/${PN} \ + "${ED}"/usr/bin/${PN} \ || die - chmod +x "${D}/usr/bin"/${PN} || die + chmod +x "${ED}"/usr/bin/${PN} || die - insinto "/usr/share/${PN}" + insinto /usr/share/${PN} doins -r "${S}"/* - rm -f "${D}/usr/share"/${PN}/*.cmd || die - java-pkg_regjar "${D}//usr/share/${PN}"/*.jar + rm -f "${ED}"/usr/share/${PN}/*.cmd || die + java-pkg_regjar "${ED}"/usr/share/${PN}/*.jar newicon resources/icon.png ${PN}.png make_desktop_entry ${PN} "Domination"