summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-06-23 23:55:29 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-06-24 23:35:40 +0200
commitfde0cce85ed0ccb19565a89f2bdfdb5263c84dae (patch)
tree595e360b5c3c7e2fa8ef6cbfc27c3632c678827a /games-server/bedrock-server
parentdev-lua/luaposix: add 36.2.1 (diff)
downloadgentoo-fde0cce85ed0ccb19565a89f2bdfdb5263c84dae.tar.gz
gentoo-fde0cce85ed0ccb19565a89f2bdfdb5263c84dae.tar.bz2
gentoo-fde0cce85ed0ccb19565a89f2bdfdb5263c84dae.zip
games-server/bedrock-server: add 1.20.1.02
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.20.1.02.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index c5bf7fad5842..1790cb7a35b4 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.19.83.01.zip 81095695 BLAKE2B e84048f39e93216d4f6d03e6451de316c509379ac95f90c6d494c01d86c42ccc7197f0cc7693dad2ddced55f379c1f7c21f42bbf3c71bfecb8cd855c51c87907 SHA512 8039b67002a7037ba6389e3d4d86a76f10490e749310d5a5ff04bd91b3a8b30fe7af4b251d8401564f8ca2584a11328f4b3289fcb06d7c58d95c2688eff87d8d
DIST bedrock-server-1.20.0.01.zip 86539834 BLAKE2B 7fc7983ffc5e6730982aab9eebaad943bcb5beb4c280bdbc97e9cfab859455972424d1b463fa2b3c1bcb7e65004321bd53ec8f6c9c87a63007f4181271caf9e0 SHA512 1ceddbc6ccab6a7730967ba61cd967ac62675c38b9e85612fd26f568ba1d5a35319b3e90afcc925c62d2eec452972d021fb54811f973f6111c484905fc91e996
+DIST bedrock-server-1.20.1.02.zip 86545370 BLAKE2B 33187ec7ae97f5744215212030d7d8b146c1e1b5d8f85c94249b0228bdb0eddbad5031950147b8a9f39f5ec9abcc6ded049c18ec2a322c243d85e42c5c46ca41 SHA512 2f6184dea2803a6cd6f654e86b3857f54547aeb494f6d66797867a62be308f8bbfd4a71353aa37eb031ec48af0c02d3b4e5e9ba88a48a5e77b8ed3252ea81ca2
diff --git a/games-server/bedrock-server/bedrock-server-1.20.1.02.ebuild b/games-server/bedrock-server/bedrock-server-1.20.1.02.ebuild
new file mode 100644
index 000000000000..aa93f6d0bc04
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.1.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
+}