blob: 82679d91577bca1fb3de7837df6ae854570b8413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CHECKREQS_DISK_BUILD="4G"
inherit check-reqs desktop xdg
DESCRIPTION="Puzzle-adventure-roguelike with a cool ass mansion dude idfk"
HOMEPAGE="https://blueprincegame.com"
MY_PN=blue-prince
SRC_URI="${MY_PN}.tar.gz"
S="${WORKDIR}/${MY_PN}"
EXE_NAME="BLUE PRINCE.exe"
LICENSE="all-rights-reserved"
SLOT="0"
RESTRICT="bindist fetch splitdebug"
PROPERTIES="live"
DIR="/opt/${MY_PN}"
RDEPEND="
app-emulation/wine-vanilla
app-emulation/dxvk[d3d11]
"
BDEPEND="
${RDEPEND}
"
# TODO: add 7z and use it to extract the icon from the executable?
pkg_nofetch() {
einfo "Please 'legally obtain' a Steam-DRM-free copy of the game, and put"
einfo "it in your distfiles directory with the name ${SRC_URI}. (it should"
einfo "contain a top-level directory named ${MY_PN}, which should in turn"
einfo "contain the game executable '${EXE_NAME}' and other files)"
}
src_install() {
insinto "${DIR}"
doins -r .
exeinto /usr/bin
newexe "${FILESDIR}/launcher.sh" ${MY_PN}
make_desktop_entry --eapi9 "${MY_PN}" -n "Blue Prince" -c Game
}
|