games-rpg/primordia: new package, add 3.6.70667

Signed-off-by: Hoël Bézier <hoelbezier@riseup.net>
This commit is contained in:
Hoël Bézier 2024-11-17 13:43:15 +01:00
parent e2c2ed9604
commit bb50e73569
No known key found for this signature in database
GPG Key ID: EA33C23EB177364D
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST primordia_3_6_70667.sh 1166666570 BLAKE2B 8129b99aec5d09ecf6deb924750ad33ee0aa24601f2ea21d8f184cfe7a46f95a32f4a126c11f2b7e546919aa1e91ddf1d6585f96e0c9c4cf6aea01a5af5ea2c6 SHA512 52ba9adfda47b4376aead568eb879624053cb70d03aaab8e6423d6a585712d474cd7bcf8698dda2aef0ef7e9eb339bd7020a030db7b4aa5563356f835333717a

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Hoël Bézier</name>
<email>hoelbezier@riseup.net</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,36 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker wrapper xdg
MY_PV="$(ver_rs 1- _)"
MY_P="${PN}_${MY_PV}"
DESCRIPTION="A cyberpunk point-and-click adventure game"
HOMEPAGE="https://www.wadjeteyegames.com/games/primordia/"
SRC_URI="${MY_P}.sh"
S="${WORKDIR}/data/noarch/game"
LICENSE="GOG-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="bindist fetch"
RDEPEND=">=games-engines/scummvm-2.8.0[mp3,truetype,opengl,vorbis,theora]"
BDEPEND="app-arch/unzip"
DIR="/usr/share/games/scummvm/games/primordia"
src_unpack() {
unpack_zip "${A}"
}
src_install() {
insinto "${DIR}"
doins acsetup.cfg ENGV.tmp Primordia.ags *.tra *.vox "${WORKDIR}/data/noarch/support/icon.png"
make_wrapper ${PN} "scummvm primordia"
make_desktop_entry ${PN} "Primordia" "${EPREFIX}/${DIR}/icon.png"
}