summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-08-16 00:36:33 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-08-16 00:36:33 +0200
commitc4d6dbb6f364635175c45caa93098d13e0358d28 (patch)
treefa57f568a363417312f558f5bb44928402db99a9 /games-server/bedrock-server
parentwww-servers/nginx: add 1.25.2 (diff)
downloadgentoo-c4d6dbb6f364635175c45caa93098d13e0358d28.tar.gz
gentoo-c4d6dbb6f364635175c45caa93098d13e0358d28.tar.bz2
gentoo-c4d6dbb6f364635175c45caa93098d13e0358d28.zip
games-server/bedrock-server: add 1.20.14.01
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.14.01.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 797f3754c9c5..2cf0b1d96678 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,2 +1,3 @@
DIST bedrock-server-1.20.11.01.zip 88510688 BLAKE2B 556afdb0c0b20502864c04bad027c3f58350ed8b5467fe2cd4cad8cdcd7fbd9c728c8f06d0c91c9efc9a590fd6245fc63aaa4d8c32eb9e65b22af9ec3d2ca083 SHA512 cb567ebdedcb2b08091f8644444dedc702ae90cec23a66e70133de7107573a748294269ab847ca604680ae33e66db381793960d4925daa0e9ee1667eff032d3f
DIST bedrock-server-1.20.13.01.zip 88509565 BLAKE2B 0b4d1a14a080270abc5d84ea4aefd6795a1b5bb2b897795b6ad87a861d47fc042cc328eae7df82624aa3f3087ecac197a620698bb6afa9f2bc43acd3e756965f SHA512 a72d1dc738704c18f5d9425f45f58fd4a2a48a243c538d6d1612b322259cc7cb81d524bd0fd777359dfb1a06f3173e60bba82a8c8d7873536b801b1805411d70
+DIST bedrock-server-1.20.14.01.zip 88509893 BLAKE2B b4e9b6734f8224a0199b8ed2ad0ad62591c81fed63642bc70f56093f988ec0cf7cd970bb0fa53b60381bdb4b4b1a7196a8b90e1090d2e9ef3d37a924bec8388b SHA512 badf8d63a8b09b47933efb1dc682a5ceca06f9c568e98bc49ac908e2018857bf9bb00ce520529dcd8a0a3097ec3e5dbe2131b87acc722373eff1610ba89c91f1
diff --git a/games-server/bedrock-server/bedrock-server-1.20.14.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.14.01.ebuild
new file mode 100644
index 000000000000..0cc382d47f66
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.14.01.ebuild
@@ -0,0 +1,55 @@
+# 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
+ 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-r4 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+ systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
+
+ einstalldocs
+}