diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 01:06:42 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 01:13:35 +0000 |
commit | 653ce46d877fe283ef9fa4f20ccec5d1761c8d5a (patch) | |
tree | 9399bacee3c4589a3d92963703653143c9b8e926 /games-board/domination | |
parent | dev-games/wfmath: port to EAPI 7, fix bashisms, ltprune--, no static libs (diff) | |
download | gentoo-653ce46d877fe283ef9fa4f20ccec5d1761c8d5a.tar.gz gentoo-653ce46d877fe283ef9fa4f20ccec5d1761c8d5a.tar.bz2 gentoo-653ce46d877fe283ef9fa4f20ccec5d1761c8d5a.zip |
games-board/domination: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-board/domination')
-rw-r--r-- | games-board/domination/domination-1.1.1.6-r2.ebuild (renamed from games-board/domination/domination-1.1.1.6-r1.ebuild) | 30 |
1 files 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 index e7b92e172bd5..3b6305ecf8a8 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" |