public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/the-royal-trap/
Date: Mon,  8 Jul 2019 20:52:35 +0000 (UTC)	[thread overview]
Message-ID: <1562619130.9b208b8de2ea03f67a85dd920f86b27b506a7e02.chewi@gentoo> (raw)

commit:     9b208b8de2ea03f67a85dd920f86b27b506a7e02
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  8 20:52:10 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jul  8 20:52:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b208b8d

games-rpg/the-royal-trap: New package

Package-Manager: Portage-2.3.68, Repoman-2.3.13
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-rpg/the-royal-trap/Manifest                  |  1 +
 games-rpg/the-royal-trap/metadata.xml              | 18 ++++++++++
 games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild | 41 ++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/games-rpg/the-royal-trap/Manifest b/games-rpg/the-royal-trap/Manifest
new file mode 100644
index 00000000000..a664a6bf091
--- /dev/null
+++ b/games-rpg/the-royal-trap/Manifest
@@ -0,0 +1 @@
+DIST The_Royal_Trap_HD_1.2-linux-x86.tar 193616345 BLAKE2B f43eb162abd077b1b2dde85012652704049c18830d0e8eb5ee4aa60b05d4b123b0fe9388aec70154b0d6e8d6a89e12fba06aacf50d5026d2391e6ad90af3d5ba SHA512 d6c0172a35e36fc6e42f1c9827e99f814cd9084a2d94042b9fd2b9a0ffd4ac1adb7c898a6579b856cfde548073b1d34a49fb6ba80d4a6c6bce682673094eff0d

diff --git a/games-rpg/the-royal-trap/metadata.xml b/games-rpg/the-royal-trap/metadata.xml
new file mode 100644
index 00000000000..59e01fb5b2f
--- /dev/null
+++ b/games-rpg/the-royal-trap/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<longdescription>
+		Madeleine Valois is a prince's companion. Her job is to guide
+		and advise him, to make him look good so that he can land a
+		royal bride. It is her responsibility to keep him out of
+		trouble - not to let him walk blindly into a political
+		minefield, not to let him get arrested for a crime he didn't
+		commit, and definitely not to let him fall in love with her.
+
+		Unfortunately, events are not going according to plan...
+	</longdescription>
+</pkgmetadata>

diff --git a/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild b/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild
new file mode 100644
index 00000000000..dccd9ca8f22
--- /dev/null
+++ b/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils xdg-utils
+
+RENPY_SLOT="6.99"
+MY_PN="The Royal Trap"
+
+DESCRIPTION="Visual novel where you help a prince choose his royal bride"
+HOMEPAGE="https://www.hanakogames.com/royaltrap.shtml"
+SRC_URI="${MY_PN// /_}_HD_${PV}-linux-x86.tar"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist fetch"
+
+RDEPEND="games-engines/renpy:${RENPY_SLOT}"
+
+S="${WORKDIR}/${MY_PN} HD ${PV}-linux-x86"
+
+pkg_nofetch() {
+	einfo "If you have ${SRC_URI} as distributed by Humble Bundle then move"
+	einfo "it to your distfiles directory. If you have some other version then"
+	einfo "please contact the Gentoo Games team."
+}
+
+src_install() {
+	insinto /usr/share/${PN}
+	doins -r game/*
+
+	make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'"
+	make_desktop_entry ${PN} "${MY_PN}" applications-games
+
+	docinto html
+	dodoc README.html
+}
+
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }


                 reply	other threads:[~2019-07-08 20:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1562619130.9b208b8de2ea03f67a85dd920f86b27b506a7e02.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox