summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-02-27 23:13:35 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-27 23:13:35 +0100
commitbfdc936edf532f7dac6fd3597c8a229f99885d6b (patch)
treeacc22572905c3f286c65e59dcca3d6f2329d5cc6 /games-server
parentpackage.mask: Last-rite net-libs/libnfsidmap (diff)
downloadgentoo-bfdc936edf532f7dac6fd3597c8a229f99885d6b.tar.gz
gentoo-bfdc936edf532f7dac6fd3597c8a229f99885d6b.tar.bz2
gentoo-bfdc936edf532f7dac6fd3597c8a229f99885d6b.zip
games-server/bedrock-server: add 1.18.12.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.18.12.01.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index d62d779c5724..f2bbab408cdf 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.18.11.01.zip 67702744 BLAKE2B 9c8f9ebb72c1e1bf83102b5bc19fd61e3d08e197bc0dbe5c7c39f7d80cfa13936ca9c887bf133c29f2b819407474426c0bb3092b6211a89a7ec295cb577073bb SHA512 a7684f55b60ca81aeb243da9dcbed7febf12f66abd3b738c80b7e65599e33e6486845026c318f81e971b2313007780c2145ef3274b40b8f0cad002d8235b7624
+DIST bedrock-server-1.18.12.01.zip 67706215 BLAKE2B 8047a014d01fef4e5e438ecfe5886b154fe424599d72e6c3405c8a7663df883e250e20ffa46e0eb6e9df5e867d22e5e193a0e389049cd67d355873cb0e68a798 SHA512 fe0bade92143759b4d0eccd4586a15b62083d95606cd62a7fb1fe5ec1a36496512a4414493c210f09c42b8c117db760236861913bbf6d17bc024cdfb83e5d1e2
DIST bedrock-server-1.18.2.03.zip 63042052 BLAKE2B e996c8a49b9c25a77127097f5c9b23339b0eeaae26dc0b011bdb38a6627408eb805ffed070df68c147646a78c8a00f9b0121cea958b7e4ab23300f66ff034713 SHA512 353e525ad8db31616925f5e0947240542019bd2e9b3337c4f83329c4c530fad81754c53daf9e5c9b23cadbddafe7d84b887e5b682dec00a77e82aa34b4bd2f43
diff --git a/games-server/bedrock-server/bedrock-server-1.18.12.01.ebuild b/games-server/bedrock-server/bedrock-server-1.18.12.01.ebuild
new file mode 100644
index 000000000000..27a0e1aed100
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.18.12.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
+}