summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-13 23:08:46 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-13 23:09:31 +0200
commitbc4dbb63e2dbe988fd795e7c3bcc36a5a9b6a22e (patch)
tree1debf195338bf773f9d6a593dd64f1889801df4a /games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild
parentgames-server/minecraft-server: drop old version (diff)
downloadgentoo-bc4dbb63e2dbe988fd795e7c3bcc36a5a9b6a22e.tar.gz
gentoo-bc4dbb63e2dbe988fd795e7c3bcc36a5a9b6a22e.tar.bz2
gentoo-bc4dbb63e2dbe988fd795e7c3bcc36a5a9b6a22e.zip
games-server/bedrock-server: bump to version 1.17.10.04
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild')
-rw-r--r--games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild b/games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild
new file mode 100644
index 000000000000..8b3bf146f776
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.17.10.04.ebuild
@@ -0,0 +1,54 @@
+# 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"
+S="${WORKDIR}"
+
+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]
+ 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 {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
+}