summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2024-02-08 20:25:20 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-02-08 22:50:24 +0100
commit9fd0caeae8aa87ef00dfca69572cf97703d5643c (patch)
tree8ae9a003981bb3e8957a8a289f84e3691c1ef5cd /games-server
parentdev-db/mysqltuner: add 2.5.2 (diff)
downloadgentoo-9fd0caeae8aa87ef00dfca69572cf97703d5643c.tar.gz
gentoo-9fd0caeae8aa87ef00dfca69572cf97703d5643c.tar.bz2
gentoo-9fd0caeae8aa87ef00dfca69572cf97703d5643c.zip
games-server/bedrock-server: add 1.20.61.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.20.61.01.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index ccaebcaf81b6..039bf4dd6a86 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.20.51.01.zip 121562366 BLAKE2B 3c791124d2b6e31c416a28b4a8dbf87f818ddfacd9b0c96c71467ff83635ead530d6fb436cd25665f746e952ec9de080dd0398b89c2ef1404a86258dc4323ff8 SHA512 521f7da979a6eb236f42291b89c602aa9aa6fd50a33e52b954de012ca2511bcb40fbfbcf14821c1007c694ca6c98b370114e632abc60da210c034ce2500c4338
+DIST bedrock-server-1.20.61.01.zip 124136771 BLAKE2B 6cb2af03c2372fcd15923d7adcfe3e92f7200ad5fa11f9bc94b4dc5f6eb454e3d072e5c08c863b148e14264daf6e778aea3c676abf0ccbf2e931441b7cd01ea7 SHA512 37f1a447072d3ef4d9e1f508fcce34aadc5a45ade3f1ef969871988a0d93215ee25777bed30546bf3b508af5cbeb1d5d5b02f5d151e4ba8bd26ed69e03dd6b23
diff --git a/games-server/bedrock-server/bedrock-server-1.20.61.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.61.01.ebuild
new file mode 100644
index 000000000000..59d5dc8f1da0
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.61.01.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 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
+ net-misc/curl
+"
+
+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-r5 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+ systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
+
+ einstalldocs
+}