summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-04-21 23:15:02 +0200
committerConrad Kostecki <conikost@gentoo.org>2022-04-21 23:23:06 +0200
commit89e3f56d5f7231ab4835b71ed818206920c3afe3 (patch)
tree3359a63715e1b1f4e448359accd9b8fbbed526dc /games-server
parentgui-apps/wl-clipboard: 1.0.0 cleanup (diff)
downloadgentoo-89e3f56d5f7231ab4835b71ed818206920c3afe3.tar.gz
gentoo-89e3f56d5f7231ab4835b71ed818206920c3afe3.tar.bz2
gentoo-89e3f56d5f7231ab4835b71ed818206920c3afe3.zip
games-server/bedrock-server: add 1.18.30.04
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.18.30.04.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 501a62631b48..7797a7b8721a 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.18.12.01.zip 67706215 BLAKE2B 8047a014d01fef4e5e438ecfe5886b154fe424599d72e6c3405c8a7663df883e250e20ffa46e0eb6e9df5e867d22e5e193a0e389049cd67d355873cb0e68a798 SHA512 fe0bade92143759b4d0eccd4586a15b62083d95606cd62a7fb1fe5ec1a36496512a4414493c210f09c42b8c117db760236861913bbf6d17bc024cdfb83e5d1e2
+DIST bedrock-server-1.18.30.04.zip 76080546 BLAKE2B e946f6533638bf51084a566714854dd0ea9c27589043421234d774c37a8c641ce54c2ea3e58e325192da4934fc00cc4c5f6fce14965f3abb4d7f7e8d16aae01e SHA512 7bd963896d91130f6c0cf4e09eec323b0463facd95fccb884ec91e2760e94e8d6084a01f09724792b7fd09cb88220bee3161c28ea87732393c2b8b273995293c
diff --git a/games-server/bedrock-server/bedrock-server-1.18.30.04.ebuild b/games-server/bedrock-server/bedrock-server-1.18.30.04.ebuild
new file mode 100644
index 000000000000..16dd14a8e660
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.18.30.04.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 structures
+
+ 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
+}