From 84992536d08bc17da6452b1763e088d8630780b2 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sun, 7 Jul 2019 21:11:46 +0100 Subject: [PATCH] games-rpg/sakura-spirit: New package Package-Manager: Portage-2.3.68, Repoman-2.3.13 Signed-off-by: James Le Cuirot --- games-rpg/sakura-spirit/Manifest | 1 + games-rpg/sakura-spirit/metadata.xml | 8 ++++ .../sakura-spirit/sakura-spirit-0.ebuild | 41 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 games-rpg/sakura-spirit/Manifest create mode 100644 games-rpg/sakura-spirit/metadata.xml create mode 100644 games-rpg/sakura-spirit/sakura-spirit-0.ebuild diff --git a/games-rpg/sakura-spirit/Manifest b/games-rpg/sakura-spirit/Manifest new file mode 100644 index 000000000000..dbec86250f68 --- /dev/null +++ b/games-rpg/sakura-spirit/Manifest @@ -0,0 +1 @@ +DIST Sakura_Spirit-linux.tar 132434253 BLAKE2B a8ea7d111b755cdcf82ca8e4d8cd1c4a41aed661998f77eefd237f748c187e77f43de701f203a97ca24b98665a7a876c458f67646e8f100c014178d8adb58790 SHA512 94c42c7252fd871915ef89535d3d28321496f3e813fd71e9fa6bf3c264421b9c10c445dff1fef64f63d60255e89fb2c1085351c85d5c1279467134e5ef5e7011 diff --git a/games-rpg/sakura-spirit/metadata.xml b/games-rpg/sakura-spirit/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-rpg/sakura-spirit/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-rpg/sakura-spirit/sakura-spirit-0.ebuild b/games-rpg/sakura-spirit/sakura-spirit-0.ebuild new file mode 100644 index 000000000000..2cc4e8c84edd --- /dev/null +++ b/games-rpg/sakura-spirit/sakura-spirit-0.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="Sakura Spirit" + +DESCRIPTION="Adult-themed visual novel and dating simulator set in Japan" +HOMEPAGE="http://wingedcloud.com" +SRC_URI="${MY_PN/ /_}-linux.tar" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist fetch" + +RDEPEND="games-engines/renpy:${RENPY_SLOT}" + +S="${WORKDIR}/${MY_PN/ /_}-linux" + +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; } -- 2.26.2