diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-13 18:49:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-13 18:49:18 +0000 |
commit | f8d671851faf1ca201cec0490ead4642c8987bae (patch) | |
tree | b8fa88a5eb1312b7f587c4670cf04cb4003e7714 /games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild | |
parent | 7c1ac01728d0156998ee45be74f80b378d96c31d (diff) |
gentoo auto-resync : 13:11:2022 - 18:49:18
Diffstat (limited to 'games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild')
-rw-r--r-- | games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild b/games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild new file mode 100644 index 000000000000..d9652070e3a9 --- /dev/null +++ b/games-server/bedrock-server/bedrock-server-1.19.41.01.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 + + einstalldocs +} |