commit:     46ba88ec9e98210612916a530d777ecb1b9cb97b
Author:     Seth Price <sprice623 <AT> aol <DOT> com>
AuthorDate: Sat Feb 11 03:19:53 2023 +0000
Commit:     Seth Price <sprice623 <AT> aol <DOT> com>
CommitDate: Sat Feb 11 03:19:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46ba88ec

games-rpg/snoot-game: update ebuild

I thought `ebuild ./foo test` meant everything was fine,
but I was mistaken.  This commit contains everything
I should’ve done from the get-go.

Closes: https://bugs.gentoo.org/893748
Signed-off-by: Seth Price <sprice623 <AT> aol.com>

 games-rpg/snoot-game/snoot-game-1.8-r1.ebuild | 40 +++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/games-rpg/snoot-game/snoot-game-1.8-r1.ebuild 
b/games-rpg/snoot-game/snoot-game-1.8-r1.ebuild
new file mode 100644
index 000000000..f8b896dd4
--- /dev/null
+++ b/games-rpg/snoot-game/snoot-game-1.8-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11} )
+inherit python-single-r1 desktop wrapper
+
+DESCRIPTION="Visual novel parody of Goodbye Volcano High"
+MY_PV="Patch8_NewYears"
+HOMEPAGE="https://snootgame.xyz/";
+SRC_URI="https://snootgame.xyz/downloads/game/SnootGame-${MY_PV}-linux.tar.bz2";
+
+LICENSE="AGPL-3 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS} virtual/opengl"
+BDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/SnootGame-${MY_PV}-linux/"
+
+QA_PREBUILT="*"
+RESTRICT+=" strip"
+
+src_install() {
+       local dir=/opt/${PN}
+       insinto "${dir}"
+
+       doins -r "${S}/."
+       dodoc README.md
+
+       fperms +x ${dir}/lib/py3-linux-x86_64/SnootGame
+       fperms +x ${dir}/SnootGame.sh
+
+       make_wrapper ${PN} "./SnootGame.sh" "${dir}" "${dir}"
+       make_desktop_entry ${PN} "Snoot Game"
+
+}

Reply via email to