diff options
-rw-r--r-- | games-server/bedrock-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.19.81.01.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index 5b626afef3d5..20e4dd50f9ce 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1 +1,2 @@ DIST bedrock-server-1.19.73.02.zip 79102952 BLAKE2B 7fb3c275681c25e607201bc9d1f8b7b76108333eb784dd3a87a547881b6984ac50ccb0ba52577aaa86db6e63d20307a1572061e8b08a96e7d0a4c09706a60a1e SHA512 c5d805322fe641a51da8497fc336400f9e1534f2bf95cb8a7bfb73ed5117109e2d7293ac932fbaca9665bfe899c232945081f66680833bf0046d99da2632efe5 +DIST bedrock-server-1.19.81.01.zip 81096423 BLAKE2B bc0874b607aac84b86448352123f8b2893f68dc96640fecbfc40784f55fa62003cf61e850996ffcc1e9f0270aa09a1bec3798029991c7a6f3d476bee7e134adc SHA512 200369dcf6c4288004b793a1b345139fac7da38019332d0c9fef679ba09234f157ed036526f3fc45964716ac0ecb287300d8015fe636238a95a1a89b2dea97d6 diff --git a/games-server/bedrock-server/bedrock-server-1.19.81.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.81.01.ebuild new file mode 100644 index 000000000000..aa93f6d0bc04 --- /dev/null +++ b/games-server/bedrock-server/bedrock-server-1.19.81.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 +} |