diff options
Diffstat (limited to 'games-server')
-rw-r--r-- | games-server/bedrock-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.20.81.01.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index 2d32c2f78525..ec4ea2803965 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1 +1,2 @@ DIST bedrock-server-1.20.80.05.zip 128321860 BLAKE2B 621927f8383527a6959f69359e0d7dd313d2b3bfc9d951ff4a2b1d1a1397853912a2bcafc4ce41394164f60c696e06816c7f6519661603e7c86f7cb1ae2791a3 SHA512 2ca8f01801c6a54e9f0990109d259f0320fb0c6ddb088181eefe1bf6ae0cd3b3789d4d85b7b76e911681e0dd7e455d93cb978a379955683d3a0a44be75789a11 +DIST bedrock-server-1.20.81.01.zip 128321298 BLAKE2B 61c815510e11dfc7dfe93fa2787960f4bea3a39be7c400b255461a871b01cc2f4adb555687257f6553707bcc291664c59c797db2630be0b12908fb407402b9ec SHA512 f0ba9ecbaed93c5f50b37300324f414331b195a593489336320fb62d4f7a9508e9313a0e09c49b5ce63c2d702f015eb9f69786e6eedb41f095af717d25bc767e diff --git a/games-server/bedrock-server/bedrock-server-1.20.81.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.81.01.ebuild new file mode 100644 index 000000000000..59d5dc8f1da0 --- /dev/null +++ b/games-server/bedrock-server/bedrock-server-1.20.81.01.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 +} |