games-strategy/mindustry: bump to 107
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
5eebd2c8d3
commit
17e18d73c3
@ -1,2 +1,3 @@
|
|||||||
DIST mindustry-104.6.jar 48910370 BLAKE2B 62d6ca658d3a440028b76908a95ff4e8265edfe50caf5c882007bcb8a7105aeb613a07f3dbe71e2bc38bc0daeeeeac20f4a7796c0475b7dd42667c6d7ccdfaae SHA512 9f19d0c8e9b9611a254de12c60c3ab3802631a9e79c518d6039dca18ae80b4d7734f1f39fc17c7d24f249495068301123e2ff4e48a196e63a00d019071a7f398
|
DIST mindustry-104.6.jar 48910370 BLAKE2B 62d6ca658d3a440028b76908a95ff4e8265edfe50caf5c882007bcb8a7105aeb613a07f3dbe71e2bc38bc0daeeeeac20f4a7796c0475b7dd42667c6d7ccdfaae SHA512 9f19d0c8e9b9611a254de12c60c3ab3802631a9e79c518d6039dca18ae80b4d7734f1f39fc17c7d24f249495068301123e2ff4e48a196e63a00d019071a7f398
|
||||||
DIST mindustry-106.jar 59405252 BLAKE2B 9a227bd59be64be37bce2d664ff398b1c140998c17369dba026d4009f5d0f65889d19040c6bfa225fa06d93ed09c767b27723b16037b7d33ad9c31b82ece06c2 SHA512 e481440329224f135ac32894f5ebdd56e4ce4b58ebdda1deebccba8ad46241e6f7add4b8edc111346d9f513055a70cafe67518d6cad60c9284cb65277f2eb688
|
DIST mindustry-106.jar 59405252 BLAKE2B 9a227bd59be64be37bce2d664ff398b1c140998c17369dba026d4009f5d0f65889d19040c6bfa225fa06d93ed09c767b27723b16037b7d33ad9c31b82ece06c2 SHA512 e481440329224f135ac32894f5ebdd56e4ce4b58ebdda1deebccba8ad46241e6f7add4b8edc111346d9f513055a70cafe67518d6cad60c9284cb65277f2eb688
|
||||||
|
DIST mindustry-107.jar 59014002 BLAKE2B dbcdbddfc93e87204e41e119bd91cda785e23cbe77e9e2df6d78a0a53e1bf2cad22d6eac6097eed536bd9f570f9845f447afe44f39ea5c4077a69e54eab7327b SHA512 8cbf2fc2a0066e02762d0b6c8a5cc5f51d1a48876a62137823e2fe2ffc6eccb1c0e62a4fdb17ff7d260856f3268b094b361fca9f02dfda49dcc826b86d7bffa4
|
||||||
|
49
games-strategy/mindustry/mindustry-107.ebuild
Normal file
49
games-strategy/mindustry/mindustry-107.ebuild
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PN="${PN^}"
|
||||||
|
|
||||||
|
inherit desktop eutils xdg
|
||||||
|
|
||||||
|
DESCRIPTION="A sandbox tower defense game"
|
||||||
|
HOMEPAGE="https://mindustrygame.github.io"
|
||||||
|
SRC_URI="https://github.com/Anuken/${MY_PN}/releases/download/v${PV}/${MY_PN}.jar -> ${P}.jar"
|
||||||
|
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jdk-1.7:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cp "${DISTDIR}/${P}.jar" "${S}/${MY_PN}.jar" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
# src_prepare() {
|
||||||
|
# cp "${P}.jar" "${MY_PN}.jar"
|
||||||
|
# }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/opt/${MY_PN}"
|
||||||
|
doins "${MY_PN}.jar"
|
||||||
|
|
||||||
|
make_wrapper "${PN}" "java -jar /opt/${MY_PN}/${MY_PN}.jar"
|
||||||
|
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "Game;StrategyGame;"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user