Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2024 Gentoo Authors |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=8 |
5 |
|
6 |
inherit desktop unpacker wrapper xdg |
7 |
|
8 |
DESCRIPTION="A cyberpunk point-and-click adventure game" |
9 |
HOMEPAGE="https://www.wadjeteyegames.com/games/primordia/" |
10 |
SRC_URI="primordia_3_6_70667.sh" |
11 |
|
12 |
LICENSE="GOG-EULA" |
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
RESTRICT="bindist fetch" |
16 |
|
17 |
RDEPEND=">=games-engines/scummvm-2.8.0[mp3,truetype,opengl,vorbis,theora]" |
18 |
BDEPEND="app-arch/unzip" |
19 |
|
20 |
S="${WORKDIR}/data/noarch/game" |
21 |
DIR="/usr/share/games/scummvm/games/primordia" |
22 |
|
23 |
src_unpack() { |
24 |
unpack_zip "${A}" |
25 |
} |
26 |
|
27 |
src_install() { |
28 |
insinto "${DIR}" |
29 |
doins acsetup.cfg ENGV.tmp Primordia.ags *.tra *.vox "${WORKDIR}/data/noarch/support/icon.png" |
30 |
|
31 |
make_wrapper ${PN} "scummvm primordia" |
32 |
make_desktop_entry ${PN} "Primordia" "${EPREFIX}/${DIR}/icon.png" |
33 |
} |