games-strategy/mindustry-bin: move from games-strategy/mindustry; bump to 122.1
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
21e70a6a85
commit
6e29f9f4f1
2
games-strategy/mindustry-bin/Manifest
Normal file
2
games-strategy/mindustry-bin/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST mindustry-bin-108.jar 62413410 BLAKE2B a5ef6cfda251cd1f1dc386894ca66c494529df5e79b1b25171753c3b38239e360d660bbc58f05508fefd0a83f18bf4dad937c7da47895b3abd5d75d1ca423ac7 SHA512 19df33da2e6b185da221b6cda7d5d7326783c44e4017d8709aff4c406453dad3db2b1674bb2652baaae23c00820b83b575a1f95c7787fed01b8c2533522b3a87
|
||||||
|
DIST mindustry-bin-122.1.jar 72089947 BLAKE2B db2d1c1caf0f339efc2bfae5bb43fad817f0b53cbca177535677270af2d18653cea1d32c0dae43880433259c6f79068612f33323885fcf18d4393ac840230eac SHA512 031ffda9cdde8b52611c7483251a1c283f0c7d333d9bc5b9fba7fb18394b44ca80f57e6e597ee62e91a8ece50c32e4e68ecb91b29438c2907fad1c2b7a968ca7
|
@ -1,6 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>xgqt@protonmail.com</email>
|
||||||
|
<name>Maciej Barć</name>
|
||||||
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">Anuken/Mindustry</remote-id>
|
<remote-id type="github">Anuken/Mindustry</remote-id>
|
||||||
</upstream>
|
</upstream>
|
36
games-strategy/mindustry-bin/mindustry-bin-108.ebuild
Normal file
36
games-strategy/mindustry-bin/mindustry-bin-108.ebuild
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PN="${PN/-bin/}"
|
||||||
|
|
||||||
|
inherit wrapper desktop 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="bindist mirror strip test"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.7:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${DISTDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/opt/${PN}"
|
||||||
|
newins "${P}.jar" "${PN}.jar"
|
||||||
|
|
||||||
|
make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
|
||||||
|
# FIXME: don't relay on 3rd party icons
|
||||||
|
make_desktop_entry "${PN}" "${PN^}" "${MY_PN}" "Game;StrategyGame;"
|
||||||
|
}
|
36
games-strategy/mindustry-bin/mindustry-bin-122.1.ebuild
Normal file
36
games-strategy/mindustry-bin/mindustry-bin-122.1.ebuild
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PN="${PN/-bin/}"
|
||||||
|
|
||||||
|
inherit wrapper desktop 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="bindist mirror strip test"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=virtual/jre-1.7:*
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${DISTDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/opt/${PN}"
|
||||||
|
newins "${P}.jar" "${PN}.jar"
|
||||||
|
|
||||||
|
make_wrapper "${PN}" "java -jar /opt/${PN}/${PN}.jar"
|
||||||
|
# FIXME: don't relay on 3rd party icons
|
||||||
|
make_desktop_entry "${PN}" "${PN^}" "${MY_PN}" "Game;StrategyGame;"
|
||||||
|
}
|
@ -1,3 +0,0 @@
|
|||||||
DIST mindustry-106.jar 59405252 BLAKE2B 9a227bd59be64be37bce2d664ff398b1c140998c17369dba026d4009f5d0f65889d19040c6bfa225fa06d93ed09c767b27723b16037b7d33ad9c31b82ece06c2 SHA512 e481440329224f135ac32894f5ebdd56e4ce4b58ebdda1deebccba8ad46241e6f7add4b8edc111346d9f513055a70cafe67518d6cad60c9284cb65277f2eb688
|
|
||||||
DIST mindustry-107.jar 59014002 BLAKE2B dbcdbddfc93e87204e41e119bd91cda785e23cbe77e9e2df6d78a0a53e1bf2cad22d6eac6097eed536bd9f570f9845f447afe44f39ea5c4077a69e54eab7327b SHA512 8cbf2fc2a0066e02762d0b6c8a5cc5f51d1a48876a62137823e2fe2ffc6eccb1c0e62a4fdb17ff7d260856f3268b094b361fca9f02dfda49dcc826b86d7bffa4
|
|
||||||
DIST mindustry-108.jar 62413410 BLAKE2B a5ef6cfda251cd1f1dc386894ca66c494529df5e79b1b25171753c3b38239e360d660bbc58f05508fefd0a83f18bf4dad937c7da47895b3abd5d75d1ca423ac7 SHA512 19df33da2e6b185da221b6cda7d5d7326783c44e4017d8709aff4c406453dad3db2b1674bb2652baaae23c00820b83b575a1f95c7787fed01b8c2533522b3a87
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PN="${PN^}"
|
|
||||||
|
|
||||||
inherit desktop wrapper 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"
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PN="${PN^}"
|
|
||||||
|
|
||||||
inherit desktop wrapper 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"
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_PN="${PN^}"
|
|
||||||
|
|
||||||
inherit desktop wrapper 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"
|
|
||||||
|
|
||||||
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