games-strategy/mindustry: new package; add version 104.6
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
7184347ff9
commit
1b641da1af
1
games-strategy/mindustry/Manifest
Normal file
1
games-strategy/mindustry/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST Mindustry.jar 48910370 BLAKE2B 62d6ca658d3a440028b76908a95ff4e8265edfe50caf5c882007bcb8a7105aeb613a07f3dbe71e2bc38bc0daeeeeac20f4a7796c0475b7dd42667c6d7ccdfaae SHA512 9f19d0c8e9b9611a254de12c60c3ab3802631a9e79c518d6039dca18ae80b4d7734f1f39fc17c7d24f249495068301123e2ff4e48a196e63a00d019071a7f398
|
7
games-strategy/mindustry/metadata.xml
Normal file
7
games-strategy/mindustry/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">Anuken/Mindustry</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
45
games-strategy/mindustry/mindustry-104.6.ebuild
Normal file
45
games-strategy/mindustry/mindustry-104.6.ebuild
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# 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"
|
||||||
|
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jdk-1.7:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${DISTDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/opt/${MY_PN}"
|
||||||
|
doins "${MY_PN}.jar"
|
||||||
|
|
||||||
|
make_wrapper "mindustry" "java -jar /opt/${MY_PN}/${MY_PN}.jar"
|
||||||
|
make_desktop_entry "mindustry" "Mindustry" "mindustry" "Game;StrategyGame;"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user