summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.18.11.01.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 9bd8bed80b87..4b919a67b7a1 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.17.11.01.zip 60015117 BLAKE2B 5927da2e2be005f3ae23928e995fe962926a5992537a82b98de668db6a635568b054eebab2454def1f938fea9f97997c537b9b6a1b528a4048c39cd5784923b1 SHA512 bddda992dede723fb042c3769513705a4848aaad5f83db44ca9d5879a735bfcc8bbc5dc6d4b38948d675e55340963e866259c27506ccf8ec8d330ae9f7ed1549
+DIST bedrock-server-1.18.11.01.zip 67702744 BLAKE2B 9c8f9ebb72c1e1bf83102b5bc19fd61e3d08e197bc0dbe5c7c39f7d80cfa13936ca9c887bf133c29f2b819407474426c0bb3092b6211a89a7ec295cb577073bb SHA512 a7684f55b60ca81aeb243da9dcbed7febf12f66abd3b738c80b7e65599e33e6486845026c318f81e971b2313007780c2145ef3274b40b8f0cad002d8235b7624
DIST bedrock-server-1.18.2.03.zip 63042052 BLAKE2B e996c8a49b9c25a77127097f5c9b23339b0eeaae26dc0b011bdb38a6627408eb805ffed070df68c147646a78c8a00f9b0121cea958b7e4ab23300f66ff034713 SHA512 353e525ad8db31616925f5e0947240542019bd2e9b3337c4f83329c4c530fad81754c53daf9e5c9b23cadbddafe7d84b887e5b682dec00a77e82aa34b4bd2f43
diff --git a/games-server/bedrock-server/bedrock-server-1.18.11.01.ebuild b/games-server/bedrock-server/bedrock-server-1.18.11.01.ebuild
new file mode 100644
index 000000000000..27a0e1aed100
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.18.11.01.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+ dev-libs/openssl:0/1.1
+ sys-libs/zlib
+"
+
+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 structures
+
+ dodir /opt/bin
+ dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
+
+ newinitd "${FILESDIR}"/bedrock-server.initd-r2 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+
+ einstalldocs
+}