games-strategy/unciv-bin - 4.20.13 (schplaf)

Search

Install

Install this version:

emerge -a =games-strategy/unciv-bin-4.20.13

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-strategy/unciv-bin-4.20.13

Or alternatively:

emerge --autounmask-write -a =games-strategy/unciv-bin-4.20.13

Package Information

Description:
Civ V remake for Android & Desktop
Homepage:
https://github.com/yairm210/Unciv
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
4.20.13 8 ~amd64 0
View Raw Ebuild
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop java-pkg-2

DESCRIPTION="Civ V remake for Android & Desktop"
HOMEPAGE="https://github.com/yairm210/Unciv"
MY_PN=Unciv
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/
SRC_URI="https://github.com/yairm210/Unciv/releases/download/${PV}/${MY_PN}.jar -> ${MY_P}.jar"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	|| ( virtual/jre:11 virtual/jre:17 )
"

ICON=ExtraImages/Icons/Unciv32.png

src_unpack() {
	cp -v "${DISTDIR}/${A}" . || die
	unzip ${A} ${ICON} || die
}

src_install() {
	java-pkg_newjar "${MY_P}.jar"
	java-pkg_dolauncher "${PN}" --jar "${PN}.jar"
	newicon ${ICON} Unciv-bin-icon.png
	make_desktop_entry "${PN}" Unciv-bin Unciv-bin-icon "Game;StrategyGame;" ""
}

Inherited Eclasses

Dependencies

RDEPEND

	|| ( virtual/jre:11 virtual/jre:17 )

Manifest for 4.20.13

Type File Size Source URLs
DIST Unciv-4.20.13.jar 54774765 bytes https://github.com/yairm210/Unciv/releases/download/4.20.13/Unciv.jar