summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-03-28 15:02:27 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-03-28 15:09:40 +0100
commit5aa4c02310f8addccb6aa0ad8132aff6d7bd52bf (patch)
tree488e431658d916af4682a99149164a347414fbcf /games-server
parentgames-fps/eduke32: drop 20231007.10494, 20231224.10548 (diff)
downloadgentoo-5aa4c02310f8addccb6aa0ad8132aff6d7bd52bf.tar.gz
gentoo-5aa4c02310f8addccb6aa0ad8132aff6d7bd52bf.tar.bz2
gentoo-5aa4c02310f8addccb6aa0ad8132aff6d7bd52bf.zip
games-server/bedrock-server: add 1.20.72.01
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.20.72.01.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 493ba32106f7..dfad0e5d3ca5 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,3 +1,4 @@
DIST bedrock-server-1.20.51.01.zip 121562366 BLAKE2B 3c791124d2b6e31c416a28b4a8dbf87f818ddfacd9b0c96c71467ff83635ead530d6fb436cd25665f746e952ec9de080dd0398b89c2ef1404a86258dc4323ff8 SHA512 521f7da979a6eb236f42291b89c602aa9aa6fd50a33e52b954de012ca2511bcb40fbfbcf14821c1007c694ca6c98b370114e632abc60da210c034ce2500c4338
DIST bedrock-server-1.20.62.02.zip 124134987 BLAKE2B 1262c02929ac27655fc07a99864e8a525a3be66abfec4e53a0a4d18ac5fe962f19d8f33c28d5a425185e025fc3d20abe3c9fb2801bbcde549e2c86b7baa3090d SHA512 a517d4a22eb59e5e534aa918f6de14579cf130e0976b8d03384da89995853fab247be776969ad9f46cd4c6e1fc861031c9cafdb18b70226beaf1b1728f8eace2
DIST bedrock-server-1.20.71.01.zip 124749918 BLAKE2B f1b550220b036b7e758d111a2ec2987c04b3b310d6e1c93718908c14930bd954eb67ecb23447489b78873cd6c8ef5e5f5da00b997c64eb088fddfd26a9ee82f8 SHA512 760cca7fbbb672b0de2d589c7d857e823c81b3d71a3f4d5665cef85e0d74c931b6780990d5421213661242a232c974daf905a2697ce8a8eba611e37dba1e9fcc
+DIST bedrock-server-1.20.72.01.zip 124750745 BLAKE2B 4a64b3b27f9e6ea907d3d53744dfef3a2fd09d5a280fb2d489a43b86dc7ffa9720cc3ae37226808ecabbddb6a47bfe0ac47b6a72ef796d6a38f1a93109f2c124 SHA512 c38327f90850474214d12fec3ddaaf4280a5b3dba3981f9b152c405522ca1d3c28e91ecb925beeda1ddc56f83e1eba9c9d7cac577c015eee3f0f5f1f0f684544
diff --git a/games-server/bedrock-server/bedrock-server-1.20.72.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.72.01.ebuild
new file mode 100644
index 000000000000..59d5dc8f1da0
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.72.01.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="The official bedrock (non-java) based server for the sandbox video game"
+HOMEPAGE="https://www.minecraft.net/"
+SRC_URI="https://minecraft.azureedge.net/bin-linux/${P}.zip"
+S="${WORKDIR}"
+
+LICENSE="Mojang"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ acct-group/bedrock
+ acct-user/bedrock
+ app-misc/dtach
+ net-misc/curl
+"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+DOCS=(
+ "bedrock_server_how_to.html"
+ "release-notes.txt"
+)
+
+QA_PREBUILT="opt/bedrock-server/bedrock_server"
+
+src_compile() {
+ :;
+}
+
+src_install() {
+ exeinto /opt/bedrock-server
+ doexe bedrock_server
+
+ insinto /opt/bedrock-server
+ doins {allowlist,permissions}.json server.properties
+ doins -r {behavior,resource}_packs definitions
+
+ dodir /opt/bin
+ dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
+
+ newinitd "${FILESDIR}"/bedrock-server.initd-r5 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+ systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
+
+ einstalldocs
+}