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 /games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild | |
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>
Diffstat (limited to 'games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild')
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.21.0.03.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
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 +} |