From: James Le Cuirot Date: Sun, 7 Jul 2019 20:11:31 +0000 (+0100) Subject: games-rpg/asphyxia: New package X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4aaaf5ae1aef98e59751a6a5b8319b68a2f65d70;p=gentoo.git games-rpg/asphyxia: New package Package-Manager: Portage-2.3.68, Repoman-2.3.13 Signed-off-by: James Le Cuirot --- diff --git a/games-rpg/asphyxia/Manifest b/games-rpg/asphyxia/Manifest new file mode 100644 index 000000000000..1f23fd2c07ed --- /dev/null +++ b/games-rpg/asphyxia/Manifest @@ -0,0 +1 @@ +DIST Asphyxia-1.0-linux.tar 282880294 BLAKE2B cb27797413238c2e828232d46626889379ee8e9b10bc224812215e811927f50d640d520a3c399d3b58da12a5d6e6957020f89c70629c037f5334e8dca8706ba5 SHA512 9e28fe4b961a03b89b717589d7ba223374dfa12710a1f101b61c913a50dc750a6c2c8733d9b312001c92b6eeb58903028eec8e7a0b62de3f52f56eef6971e07e diff --git a/games-rpg/asphyxia/asphyxia-1.0.ebuild b/games-rpg/asphyxia/asphyxia-1.0.ebuild new file mode 100644 index 000000000000..979aa1a146d9 --- /dev/null +++ b/games-rpg/asphyxia/asphyxia-1.0.ebuild @@ -0,0 +1,42 @@ +# 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="Asphyxia" + +DESCRIPTION="Visual novel where the main character has one day to make peace with her friend" +HOMEPAGE="https://ebihime.itch.io/${PN}" +SRC_URI="${MY_PN}-${PV}-linux.tar" +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist fetch" + +RDEPEND="games-engines/renpy:${RENPY_SLOT}" + +S="${WORKDIR}/${MY_PN}-${PV}-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}'" + newicon -s 48 icon.png ${PN}.png + make_desktop_entry ${PN} "${MY_PN}" + + docinto html + dodoc README.html +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } diff --git a/games-rpg/asphyxia/metadata.xml b/games-rpg/asphyxia/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-rpg/asphyxia/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + +