summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-03-19 23:11:37 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-03-19 23:12:41 +0100
commit0dc59fef8fb24b96a2c323ae94cd05f04af7e315 (patch)
treeedc2d76c62a036d1c60e1d4a3b6bef2e9202a975 /games-server
parentdev-lua/mpack: add 1.0.10 (diff)
downloadgentoo-0dc59fef8fb24b96a2c323ae94cd05f04af7e315.tar.gz
gentoo-0dc59fef8fb24b96a2c323ae94cd05f04af7e315.tar.bz2
gentoo-0dc59fef8fb24b96a2c323ae94cd05f04af7e315.zip
games-server/bedrock-server: add 1.19.71.02
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.19.71.02.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index c666e63329c1..99950d33d65f 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,3 +1,4 @@
DIST bedrock-server-1.19.51.01.zip 76976732 BLAKE2B 30ed7a0ba1d2d13b91c5400e17a4facf92a540bf96216dd2fd6cce2d67e5576a8dc73e1c534bb7d0c3afff54cfd3a2715b1c10ecbde3129880003a55fd58fa5e SHA512 b4554cb0fe66bc742d80e2c6143faa6ad10412645207a845a84cbd99550888a0e9e80df764419ff50b24abbdd63d1260c2532c79add2dd4e012604e5bff59173
DIST bedrock-server-1.19.62.01.zip 77824871 BLAKE2B 9b3d875cf798ba0d68e2a95a78ba24ff4635751c910fadb70949bcb395f4f37fef425328a8268045f1ec52f2bc171df461706d549f0e656c46834564feec4c97 SHA512 8ec08145ff7b7ef646084bcb5bd242c762ff3e9ca6e1aedcf04e04f6e6521fb5b52f2cd3c8906af64c23b62b3ab5a0ef422c17428b91b438249870cb0bf15caf
DIST bedrock-server-1.19.63.01.zip 77829248 BLAKE2B 3df63ef618242afc27245d0cee1b2216722315f268d0be3e2b4f4ca588463603389ec11d97a4b4272327edbd1e7307fa2f42fe0c21cbf00c4a03c72f187e45e9 SHA512 59e52498b2d6e3d97ae588e1910f9adcc0039319738d3ade7539252129d3a4c22014d44aa48ec0feb92776fd611e9b456f6d09e133b23916e84db5899edd8a00
+DIST bedrock-server-1.19.71.02.zip 79101599 BLAKE2B 50d6acb232882b640cce7f204938b35b8ebe33af569ca8d9e291243e34e14373aedd5273333f547cf38b4e7b9667cf1ec9b6bb6dcd53c7e4e9f4c9b8ea6a2d29 SHA512 7d6cad7229a31343c5297ef9770e32767de9fa328ef37670b837b01aba00b5e3eef925c093a122bcdbf9b3cca235880d8b02796c07fb0e8cec9736019f860ead
diff --git a/games-server/bedrock-server/bedrock-server-1.19.71.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.71.02.ebuild
new file mode 100644
index 000000000000..aa93f6d0bc04
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.71.02.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 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
+ 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
+
+ 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
+ systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
+
+ einstalldocs
+}