diff options
Diffstat (limited to 'games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild')
-rw-r--r-- | games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild new file mode 100644 index 000000000000..2ab5b5607116 --- /dev/null +++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils desktop + +RENPY_SLOT="6.99" + +DESCRIPTION="Bishoujo-style visual novel by Four Leaf Studios" +HOMEPAGE="https://www.katawa-shoujo.com" +SRC_URI="https://dl.katawa-shoujo.com/gold_${PV}/%5B4ls%5D_katawa_shoujo_${PV}-%5Blinux-x86%5D%5B18161880%5D.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="CC-BY-NC-ND-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="games-engines/renpy:${RENPY_SLOT}" + +S="${WORKDIR}/Katawa Shoujo-${PV}-linux" + +src_install() { + insinto "/usr/share/${PN}" + doins -r game/. + make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'" + + make_desktop_entry ${PN} "Katawa Shoujo" applications-games + + if use doc; then + dodoc "Game Manual.pdf" + fi +} |