summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild')
-rw-r--r--games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild b/games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild
new file mode 100644
index 000000000000..57b7a7bb616d
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+LICENSE="Mojang"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+RDEPEND="
+ acct-group/bedrock
+ acct-user/bedrock
+ app-misc/dtach
+ dev-libs/openssl:0/1.1
+ net-misc/curl[ssl]
+"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+S="${WORKDIR}"
+
+DOCS=(
+ "bedrock_server_how_to.html"
+ "release-notes.txt"
+)
+
+QA_PREBUILT="
+ opt/bedrock-server/bedrock_server
+ opt/bedrock-server/libCrypto.so
+"
+
+src_install() {
+ exeinto /opt/bedrock-server
+ doexe bedrock_server libCrypto.so
+
+ insinto /opt/bedrock-server
+ doins {permissions,whitelist}.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-r2 bedrock-server
+ newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
+
+ einstalldocs
+}