diff options
Diffstat (limited to 'games-server/bedrock-server')
-rw-r--r-- | games-server/bedrock-server/Manifest | 1 | ||||
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.16.20.03.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/games-server/bedrock-server/Manifest b/games-server/bedrock-server/Manifest index 57f04bdda118..2ca36acf92c3 100644 --- a/games-server/bedrock-server/Manifest +++ b/games-server/bedrock-server/Manifest @@ -1 +1,2 @@ DIST bedrock-server-1.16.1.02.zip 69830343 BLAKE2B c35d68f8527df9c6b96662ded02f8195ecb0bc11fa2cd93b3a0f4522cf6cbe4332f76749cc5d688179fa810edaf7c3dbb8244ad7bef1a2ee73205ab0852cc9ac SHA512 c8a79167c22e86e93e38c5a1e3d35911247011e954d49539cb8a33eb1345d49c085a1682efd4dda9681a0d1123f9caac3c4deba88e48fcccf4d1f0f7dea878b8 +DIST bedrock-server-1.16.20.03.zip 69934892 BLAKE2B 17beeff7a00b47c99eaf2d3552c3ec1af8902c16e945e6df745ba5c82cc201effde8083868a18ae58920af8bd3517d02393ca9ab3533b858a4ef84aa539d6eb2 SHA512 b7b6621dfa6855ca15a3bdd2e6f55de48d5e53b1afd0adaf0a2f595fd3b962831e0cef65b0eb2d18c4dce19baf18bbbfb6d314b2026ae8a03adf4ff9a568c314 diff --git a/games-server/bedrock-server/bedrock-server-1.16.20.03.ebuild b/games-server/bedrock-server/bedrock-server-1.16.20.03.ebuild new file mode 100644 index 000000000000..c7229a9f1d2e --- /dev/null +++ b/games-server/bedrock-server/bedrock-server-1.16.20.03.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +LICENSE="Mojang" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + acct-group/bedrock + acct-user/bedrock + app-misc/dtach + dev-libs/openssl:0/1.1 + net-misc/curl[ssl] +" + +BDEPEND="app-arch/unzip" + +RESTRICT="bindist mirror" + +S="${WORKDIR}" + +DOCS=( + "bedrock_server_how_to.html" + "release-notes.txt" +) + +QA_PREBUILT=" + opt/bedrock-server/bedrock_server + opt/bedrock-server/libCrypto.so +" + +src_install() { + exeinto /opt/bedrock-server + doexe bedrock_server libCrypto.so + + insinto /opt/bedrock-server + doins {permissions,whitelist}.json server.properties + doins -r {behavior,resource}_packs definitions structures + + dodir /opt/bin + dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server + + newinitd "${FILESDIR}"/bedrock-server.initd-r1 bedrock-server + + einstalldocs +} |