Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 924897
Collapse All | Expand All

(-)a/games-strategy/slay-the-spire/Manifest (+3 lines)
Line 0 Link Here
1
AUX slay-the-spire 166 BLAKE2B c69c9da539a360fc1389a782d19d99dfc3abd26c6fb910cdd53300582de8ecbfeda8043c581a541bb153050cf3a00701830b091d5fa3404b0839dd80bede3f46 SHA512 543ffb5f0db48bbe6e8852dc1ec9896d69978e3e7a847eea4919f6eeb4edf3791e98f5565cb18e6bf2b914b237ea77cf88087b9324e4cfe4aad50ed3815c41ef
2
DIST slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh 443844375 BLAKE2B 8d6fc61900fa4c75fbc607531b850ba581200fc5612c68cfff50799588253392cb1060cc6b6e01701092f6ce57648ac736eaf1c572e609e82ac78ac3268c7e59 SHA512 fa8630e00d700e12d708febe4b1509e4ff4cb1c36906eb249ac2ad79e9cc0b1001152f571154e30c3f09bf482cacfc0eb9d0a1abcb72de710701f1d27064d195
3
EBUILD slay-the-spire-2.2.ebuild 1285 BLAKE2B d7cd463f16ecc31acb7c7d3601f74e61433fba949c134beffd2bf65bf0f84b86ba0bc0f43485552dc0ec160e1cae94ba9318dc82208e3a92fe975a69b54517b8 SHA512 a53a585a07e08578c7013d82e435e4d79853e7be696025843210037675731872726a005ad617161104decde083129f925e55c75cfb8e857957d138665c82a79b
(-)a/games-strategy/slay-the-spire/files/slay-the-spire (+6 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
gamedir="${XDG_DATA_DIR:-${HOME}/.local/share}/slay-the-spire"
4
mkdir -p "$gamedir" &&
5
cd  "$gamedir" &&
6
exec java -jar /opt/slay-the-spire/desktop-1.0.jar
(-)a/games-strategy/slay-the-spire/slay-the-spire-2.2.ebuild (-1 / +57 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2022 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=8
5
6
CHECKREQS_DISK_BUILD="550M"
7
inherit check-reqs desktop unpacker xdg
8
9
DESCRIPTION="Turn-based game featuring powerful mechs fighting an alien threat"
10
DESCRIPTION="Deck-building roguelike game with four playable characters"
11
HOMEPAGE="https://www.megacrit.com/"
12
SRC_URI="slay_the_spire_2020_12_15_8735c9fe3cc2280b76aa3ec47c953352a7df1f65_43444.sh"
13
14
LICENSE="GOG-EULA"
15
SLOT="0"
16
KEYWORDS="~amd64"
17
RESTRICT="bindist fetch splitdebug"
18
19
BDEPEND="
20
	app-arch/unzip
21
"
22
23
# Does not run with dev-java/openjdk: #894768
24
RDEPEND="
25
	dev-java/openjdk-bin
26
	virtual/libc
27
	x11-apps/xrandr
28
	x11-libs/libX11
29
	x11-libs/libXcursor
30
	x11-libs/libXext
31
	x11-libs/libXrandr
32
	x11-libs/libXxf86vm
33
"
34
35
S="${WORKDIR}/data/noarch/game"
36
DIR="/opt/${PN}"
37
QA_PREBUILT="${DIR#/}/*"
38
39
pkg_nofetch() {
40
	einfo "Please buy and download ${SRC_URI} from:"
41
	einfo "  ${HOMEPAGE}"
42
	einfo "and move it to your distfiles directory."
43
}
44
45
src_unpack() {
46
	unpack_zip "${A}"
47
}
48
49
src_install() {
50
	insinto "${DIR}"
51
	doins desktop-1.0.jar mod-uploader.jar mts-launcher.jar
52
	doins "${WORKDIR}/data/noarch/support/icon.png"
53
54
	dobin "${FILESDIR}/slay-the-spire"
55
56
	make_desktop_entry ${PN} "Slay the Spire" "${EPREFIX}${DIR}"/icon.png
57
}

Return to bug 924897