commit: 4aaaf5ae1aef98e59751a6a5b8319b68a2f65d70 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sun Jul 7 20:11:31 2019 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sun Jul 7 20:11:31 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aaaf5ae
games-rpg/asphyxia: New package Package-Manager: Portage-2.3.68, Repoman-2.3.13 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> games-rpg/asphyxia/Manifest | 1 + games-rpg/asphyxia/asphyxia-1.0.ebuild | 42 ++++++++++++++++++++++++++++++++++ games-rpg/asphyxia/metadata.xml | 8 +++++++ 3 files changed, 51 insertions(+) diff --git a/games-rpg/asphyxia/Manifest b/games-rpg/asphyxia/Manifest new file mode 100644 index 00000000000..1f23fd2c07e --- /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 00000000000..979aa1a146d --- /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 00000000000..26079e608be --- /dev/null +++ b/games-rpg/asphyxia/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata>
