summaryrefslogtreecommitdiff
path: root/games-rpg/snoot-game/snoot-game-1.9.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/snoot-game/snoot-game-1.9.1.ebuild')
-rw-r--r--games-rpg/snoot-game/snoot-game-1.9.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-rpg/snoot-game/snoot-game-1.9.1.ebuild b/games-rpg/snoot-game/snoot-game-1.9.1.ebuild
new file mode 100644
index 000000000000..c458d5c7777e
--- /dev/null
+++ b/games-rpg/snoot-game/snoot-game-1.9.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+inherit python-single-r1 desktop wrapper
+
+DESCRIPTION="Visual novel parody of Goodbye Volcano High"
+MY_PV="Patch9.1-RoastedLaika"
+HOMEPAGE="https://snootgame.xyz/"
+SRC_URI="https://snootgame.xyz/bin/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"
+}