summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-12-04 15:28:09 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-12-04 15:28:09 +0100
commit037925d1cab521802369372d7ab27a4aa413f946 (patch)
tree8d1b99ac19d1ccb2e2e50beef07f32370b2debbf /games-server
parentdev-libs/libmodbus: add 3.1.9 (diff)
downloadgentoo-037925d1cab521802369372d7ab27a4aa413f946.tar.gz
gentoo-037925d1cab521802369372d7ab27a4aa413f946.tar.bz2
gentoo-037925d1cab521802369372d7ab27a4aa413f946.zip
games-server/bedrock-server: add 1.19.50.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.50.02.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 718689338328..543ba3058419 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.19.41.01.zip 76027401 BLAKE2B 6095f217ea56e853117baff3073d96356bc2f2041a467f5d7b51c1a60c11a8b3d6be0b2a3061363fa9b6fa6a2459d1eaf845a8245eea9062116afff1d65c6212 SHA512 d25435249f9ba8af6bc6ad551f22ed5fe48ea2e407c11de3d14c4d410d1542f547b0a9b97f9d33bb3e388e1e085865efbe96fba020904af1c6f35c1b94c153f4
+DIST bedrock-server-1.19.50.02.zip 76974713 BLAKE2B ff4d794c57f426e1b9ebab0ef269a41d6a68e2f1c46ad466f5bbd04fba5017a25f527ea0f956928ddf2e6f6f37fd900b92630af61c8bd6c8cfd53aabc560cae3 SHA512 11db8ca3f9ae1ed09b175d5959ab0d55b72239565ea2d99bddf1bd5cc873e51f9291e0926e4f5920e46663d7c71cc28c9348db44eb1c1784d96e25fd5a9ee1e9
diff --git a/games-server/bedrock-server/bedrock-server-1.19.50.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.50.02.ebuild
new file mode 100644
index 000000000000..d9652070e3a9
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.50.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
+
+ 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
+}