Skip to content

Commit

Permalink
games-rpg/primordia: new package, add 3.6.70667
Browse files Browse the repository at this point in the history
Signed-off-by: Hoël Bézier <hoelbezier@riseup.net>
  • Loading branch information
Hoël Bézier committed Nov 17, 2024
1 parent e2c2ed9 commit bb50e73
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-rpg/primordia/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST primordia_3_6_70667.sh 1166666570 BLAKE2B 8129b99aec5d09ecf6deb924750ad33ee0aa24601f2ea21d8f184cfe7a46f95a32f4a126c11f2b7e546919aa1e91ddf1d6585f96e0c9c4cf6aea01a5af5ea2c6 SHA512 52ba9adfda47b4376aead568eb879624053cb70d03aaab8e6423d6a585712d474cd7bcf8698dda2aef0ef7e9eb339bd7020a030db7b4aa5563356f835333717a
8 changes: 8 additions & 0 deletions games-rpg/primordia/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>
36 changes: 36 additions & 0 deletions games-rpg/primordia/primordia-3.6.70667.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit bb50e73

Please sign in to comment.