summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-06-20 01:34:42 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-06-20 01:35:29 +0200
commit5cc834eea93a94c35efb0b913adf7ff5b349412a (patch)
tree527cce453e5a670cbf52fecb017b9a012798770a /games-server
parentgames-server/minecraft-server: bump to version 1.17 (diff)
downloadgentoo-5cc834eea93a94c35efb0b913adf7ff5b349412a.tar.gz
gentoo-5cc834eea93a94c35efb0b913adf7ff5b349412a.tar.bz2
gentoo-5cc834eea93a94c35efb0b913adf7ff5b349412a.zip
games-server/bedrock-server: bump to version 1.17
Package-Manager: Portage-3.0.18, Repoman-3.0.3 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.17.1.01.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index a36e1cc40762..3c9ee9e2f606 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.16.220.02.zip 54271561 BLAKE2B 41d1a082299220952960231bf40601043d81129bc168aec75c73eeb14707ae5c7d94498cbdf49a2bac73c700d06bd80c1e5245e49958702e8651239eb0f20f56 SHA512 caee2c9932157f2dd68fb8cd72a1442c95b36ad333762b84979ac8625a758a6c78d776787ac67a0b479c0918d008d288cfaee32a5a2ba426448f4cd4c64ed3a0
+DIST bedrock-server-1.17.1.01.zip 29789544 BLAKE2B 3d5f192777f4a0508f29271bd81c1ece9af32257168313d2d8b0a214db2233b0be21b4ec20538e4f8650a781688f32ab6dc604cf1a7c2915ef1b9c4dea8eec61 SHA512 6f32847ea6d0cb7d109a2fa2c7ab98049948a2f974d9ad00e45e2cad040e9787f2aff819a2922accad18d5d55b189ceefa82da144d9adb830a16112a78c28971
diff --git a/games-server/bedrock-server/bedrock-server-1.17.1.01.ebuild b/games-server/bedrock-server/bedrock-server-1.17.1.01.ebuild
new file mode 100644
index 000000000000..8b3bf146f776
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.17.1.01.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
+}