public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-server/minecraft-server/
Date: Thu,  8 Jun 2023 20:04:12 +0000 (UTC)	[thread overview]
Message-ID: <1686254321.2d3afc53ebcdd984437a324b5d2e0bc98071defb.conikost@gentoo> (raw)

commit:     2d3afc53ebcdd984437a324b5d2e0bc98071defb
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 19:58:41 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 19:58:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3afc53

games-server/minecraft-server: add 1.20

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 games-server/minecraft-server/Manifest             |  1 +
 .../minecraft-server/minecraft-server-1.20.ebuild  | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/games-server/minecraft-server/Manifest b/games-server/minecraft-server/Manifest
index 128778b2097a..ee3d2da1d07a 100644
--- a/games-server/minecraft-server/Manifest
+++ b/games-server/minecraft-server/Manifest
@@ -1 +1,2 @@
 DIST minecraft-server-1.19.4.jar 47515675 BLAKE2B ab4f65ce8e08ea790d3ef4e291dd1eadad0931bd5cf39771ed6571089c556cb85786987c0f9e22c2aaf4b000400a674c85bf157382c6840cd65fcaa33ada70b8 SHA512 a4233e35aca4ade4b2d7b8047c990d40ef81e832ef693b583a08b963ad9358c0abe3ccca656848ba649aaeded2a37ac585099bee24036a8abb1e7541eb91e96e
+DIST minecraft-server-1.20.jar 47787288 BLAKE2B 396deea2ec2d1a144406cac63ef46aca50537f8c76244c44928623a5c4e0287a944406b312f18034742761f20c73820c9bf6fa3a702ab45afac35299059f6169 SHA512 5995ee6652c4b6667bdf9d6e4d80669002f7d59e274eab681e00929c38cfe447cd6e49fa3993feefabb18c3230ac92a6fa93aad4d907f6a576295333fbe84042

diff --git a/games-server/minecraft-server/minecraft-server-1.20.ebuild b/games-server/minecraft-server/minecraft-server-1.20.ebuild
new file mode 100644
index 000000000000..6cb763192912
--- /dev/null
+++ b/games-server/minecraft-server/minecraft-server-1.20.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+EGIT_COMMIT="15c777e2cfe0556eef19aab534b186c0c6f277e1"
+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"
+S="${WORKDIR}"
+
+LICENSE="Mojang"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+	acct-group/minecraft
+	acct-user/minecraft
+	app-misc/dtach
+	|| (
+		dev-java/openjdk:17
+		dev-java/openjdk-bin:17
+	)
+"
+
+src_unpack() {
+	cp "${DISTDIR}/${A}" "${WORKDIR}" || die
+}
+
+src_compile() {
+	:;
+}
+
+src_install() {
+	newbin "${FILESDIR}"/minecraft-server-bin minecraft-server
+
+	java-pkg_newjar minecraft-server-${PV}.jar minecraft-server.jar
+
+	newinitd "${FILESDIR}"/minecraft-server.initd-r5 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
+}


             reply	other threads:[~2023-06-08 20:04 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08 20:04 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-17 22:31 [gentoo-commits] repo/gentoo:master commit in: games-server/minecraft-server/ Conrad Kostecki
2024-05-05 18:56 Conrad Kostecki
2024-04-24 12:51 Conrad Kostecki
2024-04-23 22:09 Conrad Kostecki
2023-12-22  9:11 Conrad Kostecki
2023-12-12 22:16 Conrad Kostecki
2023-09-22 19:51 Conrad Kostecki
2023-09-22 19:51 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-06-24 21:36 Conrad Kostecki
2023-04-19 19:01 Conrad Kostecki
2023-04-19 19:01 Conrad Kostecki
2023-03-19 22:12 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2022-12-10 13:27 Conrad Kostecki
2022-08-29 22:22 Conrad Kostecki
2022-08-29 22:22 Conrad Kostecki
2022-08-05 17:11 Conrad Kostecki
2022-07-27 19:15 Conrad Kostecki
2022-07-09 21:30 Conrad Kostecki
2022-07-09 21:30 Conrad Kostecki
2022-06-07 20:14 Conrad Kostecki
2022-04-01 16:57 Conrad Kostecki
2022-04-01 16:57 Conrad Kostecki
2022-03-01 12:57 Conrad Kostecki
2022-01-20 22:58 Conrad Kostecki
2021-12-11 17:12 Conrad Kostecki
2021-12-10 23:42 Conrad Kostecki
2021-12-10 23:42 Conrad Kostecki
2021-12-05 22:16 Conrad Kostecki
2021-07-13 21:09 Conrad Kostecki
2021-07-13 21:09 Conrad Kostecki
2021-06-19 23:36 Conrad Kostecki
2021-02-15 20:13 Conrad Kostecki
2021-02-15 20:13 Conrad Kostecki
2021-02-15 20:13 Conrad Kostecki
2021-01-16 15:44 Conrad Kostecki
2020-12-04 13:58 Conrad Kostecki
2020-12-04 13:58 Conrad Kostecki
2020-12-04 13:58 Conrad Kostecki
2020-11-04 22:58 Conrad Kostecki
2020-11-04 22:58 Conrad Kostecki
2020-11-02 23:51 Sam James
2020-10-25 23:42 Thomas Deutschmann
2020-09-24 20:40 Conrad Kostecki
2020-09-24 20:40 Conrad Kostecki
2020-08-23 18:14 Conrad Kostecki
2020-08-22 20:16 Conrad Kostecki
2020-08-11 18:30 Conrad Kostecki
2020-08-11 14:23 Agostino Sarubbo
2020-08-10 12:34 Agostino Sarubbo
2020-07-07 18:45 Conrad Kostecki
2020-05-21 22:28 Conrad Kostecki
2020-05-21  8:06 Agostino Sarubbo
2020-05-21  7:53 Agostino Sarubbo
2020-02-04 18:09 Conrad Kostecki
2020-01-21 10:42 Agostino Sarubbo
2020-01-20 12:52 Agostino Sarubbo
2019-12-19 22:49 Conrad Kostecki
2019-12-19 22:49 Conrad Kostecki
2019-10-03  6:21 Michał Górny
2019-10-02 19:08 Agostino Sarubbo
2019-09-26 19:02 Thomas Deutschmann
2019-08-07 15:35 Joonas Niilola
2019-08-07 15:35 Joonas Niilola
2019-05-31 18:01 Stefan Strogin
2019-04-19  2:41 Aaron Bauman
2018-11-03  9:43 Michał Górny
2018-11-03  9:43 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686254321.2d3afc53ebcdd984437a324b5d2e0bc98071defb.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox