summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-03-15 23:36:27 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-03-16 00:58:54 +0100
commit7f782bf86f28e7835abed96e5ec9f0ed7e7d08b0 (patch)
tree13fc562016ad15729106876a0ddf9abdace149a3 /games-server
parentapp-crypt/gnupg: Stabilize 2.2.42-r3 ppc, #927097 (diff)
downloadgentoo-7f782bf86f28e7835abed96e5ec9f0ed7e7d08b0.tar.gz
gentoo-7f782bf86f28e7835abed96e5ec9f0ed7e7d08b0.tar.bz2
gentoo-7f782bf86f28e7835abed96e5ec9f0ed7e7d08b0.zip
games-server/bedrock-server: add 1.20.71.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.71.01.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index fcce1ae250a1..493ba32106f7 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/games-server/bedrock-server/bedrock-server-1.20.71.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.71.01.ebuild
new file mode 100644
index 000000000000..59d5dc8f1da0
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.71.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
+}