summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-03-25 00:30:00 +0100
committerConrad Kostecki <conikost@gentoo.org>2023-03-25 01:11:20 +0100
commitde4ead8663c4f879c398a731ebd84ffc40715ca1 (patch)
tree61d9c3a15311a0008a605021c96a298eff7b8b42 /games-server
parentgames-fps/quakeforge: unset LEX to ensure flex (diff)
downloadgentoo-de4ead8663c4f879c398a731ebd84ffc40715ca1.tar.gz
gentoo-de4ead8663c4f879c398a731ebd84ffc40715ca1.tar.bz2
gentoo-de4ead8663c4f879c398a731ebd84ffc40715ca1.zip
games-server/bedrock-server: add 1.19.72.01
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.72.01.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest
index 99950d33d65f..500d7584f285 100644
--- a/games-server/bedrock-server/Manifest
+++ b/games-server/bedrock-server/Manifest
@@ -2,3 +2,4 @@ DIST bedrock-server-1.19.51.01.zip 76976732 BLAKE2B 30ed7a0ba1d2d13b91c5400e17a4
DIST bedrock-server-1.19.62.01.zip 77824871 BLAKE2B 9b3d875cf798ba0d68e2a95a78ba24ff4635751c910fadb70949bcb395f4f37fef425328a8268045f1ec52f2bc171df461706d549f0e656c46834564feec4c97 SHA512 8ec08145ff7b7ef646084bcb5bd242c762ff3e9ca6e1aedcf04e04f6e6521fb5b52f2cd3c8906af64c23b62b3ab5a0ef422c17428b91b438249870cb0bf15caf
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
diff --git a/games-server/bedrock-server/bedrock-server-1.19.72.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.72.01.ebuild
new file mode 100644
index 000000000000..aa93f6d0bc04
--- /dev/null
+++ b/games-server/bedrock-server/bedrock-server-1.19.72.01.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
+}