diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-06-17 23:18:41 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-06-18 00:29:32 +0200 |
commit | 9c9c7eb36994e1a2d030bf8645b1afc6fef544a5 (patch) | |
tree | 8b06d32a6a4d4b2b354cddb32a4bda11ff51392b | |
parent | games-server/bedrock-server: drop 1.20.80.05 (diff) | |
download | gentoo-9c9c7eb36994e1a2d030bf8645b1afc6fef544a5.tar.gz gentoo-9c9c7eb36994e1a2d030bf8645b1afc6fef544a5.tar.bz2 gentoo-9c9c7eb36994e1a2d030bf8645b1afc6fef544a5.zip |
games-server/bedrock-server: add 1.21.0.03
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r-- | games-server/bedrock-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index 0b26c90a4c85..553839395ee4 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1 +1,2 @@ DIST bedrock-server-1.20.81.01.zip 128321298 BLAKE2B 61c815510e11dfc7dfe93fa2787960f4bea3a39be7c400b255461a871b01cc2f4adb555687257f6553707bcc291664c59c797db2630be0b12908fb407402b9ec SHA512 f0ba9ecbaed93c5f50b37300324f414331b195a593489336320fb62d4f7a9508e9313a0e09c49b5ce63c2d702f015eb9f69786e6eedb41f095af717d25bc767e +DIST bedrock-server-1.21.0.03.zip 130150482 BLAKE2B f8caa35404bc1431e7d00dc116689c7671acd41a2e4c091869a51d2cdefd23fc54c95db0b44026740fb9ec6ff8838e7f91c3e86d3b9f5c0431bb59e9414c94da SHA512 09439f052c901b23f9ac75bdb2fe02dcced1e17d3e7b5feabf1d821eede766c8dd727ab933477230ea7b29907da8e8e0f6db28b6a93f332c1572fbfb41b98875 diff --git a/games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild b/games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild new file mode 100644 index 000000000000..59d5dc8f1da0 --- /dev/null +++ b/games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 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 + net-misc/curl +" + +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-r5 bedrock-server + newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server + systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service + + einstalldocs +} |