games-strategy/mindustry-bin: add 146

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-03-01 09:19:26 +02:00
parent 64c8952d43
commit e78c75750f
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 42 additions and 0 deletions

View File

@ -1 +1,3 @@
DIST mindustry-bin-135.jar 60093826 BLAKE2B b2c92865ff6404b8c58778f9d54d5f7a7c42e3c1d20a25ac256d7712131ee366f1a3bdacf13138da88d3902d7bc62e24ef94b7b5cd3845781fa15be1ba702e2d SHA512 e1da89be60802cc8dfeafafa4d37e00f81de8aa7d98a97890251ed0f4622a6e46defe94df9dcd21aed18e1ed66e4271e93110f14482eab7c3dfa16eaaf57bad1
DIST mindustry-bin-146.jar 72939318 BLAKE2B 33f22a4a46908b9b94999eb168c5a1f31076559f6b4fec9a164687fd9de79910e28120c574bdef5706b14ee30826c8a280c0648cc983752aef9435d9e3f183c2 SHA512 0ea3ee2e967bcc890fcb894b570f9df09497de7b49c0b8331210c96260dd94f2df60819359c47b9c661382e1c57a1da9841b8d0f3ad538b0582cbfc5edb15dd3
DIST mindustry-bin-d0ff0307f5ce717ee7622e2029785bb1d76e3d18-icon_64.png 13869 BLAKE2B bf9a0e43c8155ccf4daf337e820fdd274fda9c0a5d07ae26d2ee9c1a9e06c9930cb3f8210bca24babca9b145dc0317dc8669ee39f19d5f737ab4edc8f3811ccb SHA512 66b34ac02c33e24d164976a6f927d38b145ff2cd8d25851d77c2c654cf5b8481f49041559f3dc4f128ca732a734ea25a155ce7604e876e1d3f53f9478b492207

View File

@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg wrapper
DESCRIPTION="A sandbox tower defense game"
HOMEPAGE="https://mindustrygame.github.io"
ICON_COMMIT="d0ff0307f5ce717ee7622e2029785bb1d76e3d18"
SRC_URI="
https://github.com/Anuken/Mindustry/releases/download/v${PV}/Mindustry.jar
-> ${P}.jar
https://github.com/Anuken/Mindustry/raw/${ICON_COMMIT}/core/assets/icons/icon_64.png
-> mindustry-bin-${ICON_COMMIT}-icon_64.png
"
S="${DISTDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="bindist mirror strip test"
RDEPEND="
>=virtual/jre-1.7:*
"
src_unpack() {
:
}
src_install() {
insinto "/opt/mindustry"
newins "${P}.jar" "mindustry.jar"
make_wrapper mindustry "java -jar /opt/mindustry/mindustry.jar"
make_desktop_entry mindustry mindustry mindustry "Game;StrategyGame;"
newicon -s 64 mindustry-bin-${ICON_COMMIT}-icon_64.png mindustry.png
}