summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-08-05 22:27:52 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-08-05 22:32:09 +0200
commitbeae7bd3f90232a5e8364d81cac5b1bd9cd6f164 (patch)
tree6a6a755541431ae87a01f913fa2134b85379df62 /games-server
parentapp-arch/rar: add 6.23 (diff)
downloadgentoo-beae7bd3f90232a5e8364d81cac5b1bd9cd6f164.tar.gz
gentoo-beae7bd3f90232a5e8364d81cac5b1bd9cd6f164.tar.bz2
gentoo-beae7bd3f90232a5e8364d81cac5b1bd9cd6f164.zip
games-server/bedrock-server: add 1.20.13.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.13.01.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 640cfe7e7cdf..797f3754c9c5 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
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
diff --git a/games-server/bedrock-server/bedrock-server-1.20.13.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.13.01.ebuild
new file mode 100644
index 000000000000..aa93f6d0bc04
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.20.13.01.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
+}