diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-11-04 23:50:49 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-11-04 23:52:44 +0100 |
commit | 07ea8fd0a687fe9b5776abaaa1b4d11a0b940a78 (patch) | |
tree | 52ff9eb7042f920303efa2b3ea00d971c7cd7cd8 /games-server/minecraft-server | |
parent | dev-util/catalyst: Remove livecd@ as maintainer (diff) | |
download | gentoo-07ea8fd0a687fe9b5776abaaa1b4d11a0b940a78.tar.gz gentoo-07ea8fd0a687fe9b5776abaaa1b4d11a0b940a78.tar.bz2 gentoo-07ea8fd0a687fe9b5776abaaa1b4d11a0b940a78.zip |
games-server/minecraft-server: bump to version 1.16.4
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/minecraft-server')
-rw-r--r-- | games-server/minecraft-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/minecraft-server/minecraft-server-1.16.4.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest index f7dc629e6138..9cb93acc5ae4 100644 --- a/games-server/minecraft-server/Manifest +++ b/games-server/minecraft-server/Manifest @@ -1 +1,2 @@ DIST minecraft-server-1.16.3.jar 37942656 BLAKE2B 1ed70ac476dd202797f46a4844519d816f17c272d0703791d74b651fa8ac4c343a6939b50c5a0230d5bf149a564af6c7603297f0b114ce9fd2487f4bebef1c7e SHA512 ef9956ec55638b54e21e3b504ba2d2ce1b9d09769b5e118a36fbf2d97bd84a5bb49adf9a07328ae3e1c9fd76fe3da0b7d56baaa77bdc55b99d0f45039ada2ac3 +DIST minecraft-server-1.16.4.jar 37961464 BLAKE2B 1578a1ad52c81c038a1a5ee63b68dba03ff54005991095bde9d88a9275b427dc86144e26466dc2ad0313740f387fafd7c23cbdf61c452fff8df4ca82ec6367b5 SHA512 2807168800da30e6e58a22fc9f1981b58be6ba986d12dc138c19013269fcf51976db21a0488c3a95468e4f8016646db3a9966ac2065f6950ba9b733056df47bd diff --git a/games-server/minecraft-server/minecraft-server-1.16.4.ebuild b/games-server/minecraft-server/minecraft-server-1.16.4.ebuild new file mode 100644 index 000000000000..a8f5432619f5 --- /dev/null +++ b/games-server/minecraft-server/minecraft-server-1.16.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="35139deedbd5182953cf1caa23835da59ca3d7cd" +README_GENTOO_SUFFIX="-r1" + +inherit readme.gentoo-r1 java-pkg-2 systemd + +DESCRIPTION="The official server for the sandbox video game" +HOMEPAGE="https://www.minecraft.net/" +SRC_URI="https://launcher.mojang.com/v1/objects/${EGIT_COMMIT}/server.jar -> ${P}.jar" + +LICENSE="Mojang" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + acct-group/minecraft + acct-user/minecraft + app-misc/dtach + || ( + >=virtual/jre-1.8 + >=virtual/jdk-1.8 + ) +" + +RESTRICT="bindist mirror" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}/${A}" "${WORKDIR}" || die +} + +src_compile() { + :; +} + +src_install() { + java-pkg_newjar minecraft-server-${PV}.jar minecraft-server.jar + java-pkg_dolauncher minecraft-server --jar minecraft-server.jar --java_args "\${JAVA_OPTS}" + + newinitd "${FILESDIR}"/minecraft-server.initd-r4 minecraft-server + newconfd "${FILESDIR}"/minecraft-server.confd-r1 minecraft-server + systemd_newunit "${FILESDIR}"/minecraft-server.service minecraft-server@.service + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} |