summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.18.32.02.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 344f6d1bb3ff..7f4f461b56f5 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.18.12.01.zip 67706215 BLAKE2B 8047a014d01fef4e5e438ecfe5886b154fe424599d72e6c3405c8a7663df883e250e20ffa46e0eb6e9df5e867d22e5e193a0e389049cd67d355873cb0e68a798 SHA512 fe0bade92143759b4d0eccd4586a15b62083d95606cd62a7fb1fe5ec1a36496512a4414493c210f09c42b8c117db760236861913bbf6d17bc024cdfb83e5d1e2
DIST bedrock-server-1.18.31.04.zip 76088781 BLAKE2B 29f9b66331df937fc74bc043cfdfcd0ec4179e062bc2270f10498d08fe42be78d9c5374a6bb6ff7c3b4c4b070a8a63069cbce28dc1bec7052f474dc6907eb334 SHA512 54308061a9f6782dfd0d683def5e1e2db5eff4c446308648ba088999a267eef71d33055880da2286b0c6ef2257a09ee380b53c4717d115279ae24114a0ac3638
+DIST bedrock-server-1.18.32.02.zip 76088836 BLAKE2B 9ae418bfa018393eaba0ed683a862bad9630c3292b5fda8f045a727ec6c76163a95bb7a2bbc8be175a3e33966ecfed670b9566996e570b04c73579e73243634d SHA512 0567f7a8e752c77b2585b731ed3458d355df2fd2250e16d5d94803dbf39454be386fb10905e2ba2535c56cc3f8f3392fe45b78835dfda1277f91f0da63d40b1c
diff --git a/games-server/bedrock-server/bedrock-server-1.18.32.02.ebuild b/games-server/bedrock-server/bedrock-server-1.18.32.02.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.18.32.02.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-r4 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+
+ einstalldocs
+}