Skip to content

Commit

Permalink
games-server/bedrock-server: fix install
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/782925
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <[email protected]>
  • Loading branch information
ConiKost committed Apr 15, 2021
1 parent d6aba6f commit 2555090
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions games-server/bedrock-server/bedrock-server-1.16.220.02.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ 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"
S="${WORKDIR}"

LICENSE="Mojang"
SLOT="0"
Expand All @@ -17,27 +18,27 @@ RDEPEND="
app-misc/dtach
dev-libs/openssl:0/1.1
net-misc/curl[ssl]
sys-libs/zlib
"

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
"
QA_PREBUILT="opt/bedrock-server/bedrock_server"

src_compile() {
:;
}

src_install() {
exeinto /opt/bedrock-server
doexe bedrock_server libCrypto.so
doexe bedrock_server

insinto /opt/bedrock-server
doins {permissions,whitelist}.json server.properties
Expand Down

0 comments on commit 2555090

Please sign in to comment.