summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-12-05 22:42:31 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-12-05 22:45:11 +0100
commit21113dd5714a133b2039ca8a8ff47345dc6c29cc (patch)
tree5047220203e496864514bf0a7b0a9942c5dae0e6 /games-server/bedrock-server
parentgames-fps/eduke32: drop 20211010.9722 (diff)
downloadgentoo-21113dd5714a133b2039ca8a8ff47345dc6c29cc.tar.gz
gentoo-21113dd5714a133b2039ca8a8ff47345dc6c29cc.tar.bz2
gentoo-21113dd5714a133b2039ca8a8ff47345dc6c29cc.zip
games-server/bedrock-server: add 1.18.1.02
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r--games-server/bedrock-server/Manifest1
-rw-r--r--games-server/bedrock-server/bedrock-server-1.18.1.02.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index d4594d351b6c..545505b106ae 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1 +1,2 @@
DIST bedrock-server-1.17.11.01.zip 60015117 BLAKE2B 5927da2e2be005f3ae23928e995fe962926a5992537a82b98de668db6a635568b054eebab2454def1f938fea9f97997c537b9b6a1b528a4048c39cd5784923b1 SHA512 bddda992dede723fb042c3769513705a4848aaad5f83db44ca9d5879a735bfcc8bbc5dc6d4b38948d675e55340963e866259c27506ccf8ec8d330ae9f7ed1549
+DIST bedrock-server-1.18.1.02.zip 63039360 BLAKE2B 6d9ede49cc91fa051a0480864b184b1e1bc36334254d44ed736de1d3386567cc977038e3fb9e56556e07f356fde4f03a01cdeba828a3f0bc51139c893d093a07 SHA512 27c7e254de86c36315d72e5a94fd54912c21dd2b867ff8fb3fa3befdbd6b035f1ed6eee0fbd9edf2d65ff985b189bb857e4ed7baa5daefced2282cbfc4767d86
diff --git a/games-server/bedrock-server/bedrock-server-1.18.1.02.ebuild b/games-server/bedrock-server/bedrock-server-1.18.1.02.ebuild
new file mode 100644
index 000000000000..89c88c8498f8
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.18.1.02.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
+}