summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-01 21:24:16 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-01 21:24:16 +0200
commit2f53b1a88ef7b98bb690e3e39ad035b009b3faff (patch)
tree4840eedc578b411a5ae389c45d9799a396d8e631 /games-server
parentnet-im/spectrum2: drop 2.1.3-r1 (diff)
downloadgentoo-2f53b1a88ef7b98bb690e3e39ad035b009b3faff.tar.gz
gentoo-2f53b1a88ef7b98bb690e3e39ad035b009b3faff.tar.bz2
gentoo-2f53b1a88ef7b98bb690e3e39ad035b009b3faff.zip
games-server/bedrock-server: add 1.19.73.02
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.19.73.02.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 0752dbf2cf7f..93dbe9a14d7d 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -1,3 +1,4 @@
DIST bedrock-server-1.19.63.01.zip 77829248 BLAKE2B 3df63ef618242afc27245d0cee1b2216722315f268d0be3e2b4f4ca588463603389ec11d97a4b4272327edbd1e7307fa2f42fe0c21cbf00c4a03c72f187e45e9 SHA512 59e52498b2d6e3d97ae588e1910f9adcc0039319738d3ade7539252129d3a4c22014d44aa48ec0feb92776fd611e9b456f6d09e133b23916e84db5899edd8a00
DIST bedrock-server-1.19.71.02.zip 79101599 BLAKE2B 50d6acb232882b640cce7f204938b35b8ebe33af569ca8d9e291243e34e14373aedd5273333f547cf38b4e7b9667cf1ec9b6bb6dcd53c7e4e9f4c9b8ea6a2d29 SHA512 7d6cad7229a31343c5297ef9770e32767de9fa328ef37670b837b01aba00b5e3eef925c093a122bcdbf9b3cca235880d8b02796c07fb0e8cec9736019f860ead
DIST bedrock-server-1.19.72.01.zip 79101746 BLAKE2B 685ffeefea4a402ddb7b7d2a1fde8ebbe47e798b2730d2268e867dea4c104dd1a525a3575182b8d4e065b11b664075d0ad2668dc303c49c78faa9efc9c2c061c SHA512 3602baa99155d81884504af9f76503f9aac69110d135671fbe5f5aa6f4f491cc7b025cbd7e7b5d9ae61a9e0703e92013a5332e9cf91f234642dc204bc36a174d
+DIST bedrock-server-1.19.73.02.zip 79102952 BLAKE2B 7fb3c275681c25e607201bc9d1f8b7b76108333eb784dd3a87a547881b6984ac50ccb0ba52577aaa86db6e63d20307a1572061e8b08a96e7d0a4c09706a60a1e SHA512 c5d805322fe641a51da8497fc336400f9e1534f2bf95cb8a7bfb73ed5117109e2d7293ac932fbaca9665bfe899c232945081f66680833bf0046d99da2632efe5
diff --git a/games-server/bedrock-server/bedrock-server-1.19.73.02.ebuild b/games-server/bedrock-server/bedrock-server-1.19.73.02.ebuild
new file mode 100644
index 000000000000..8b8a94cb7f0d
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.73.02.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+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
+
+ 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
+ systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
+
+ einstalldocs
+}