commit:     5f054a16089bae1f816c57048dc6f9ec08d88ffc
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed May 15 18:18:13 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri May 17 08:43:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f054a16

games-puzzle/textmaze: EAPI8 bump, fix LICENSE

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 games-puzzle/textmaze/textmaze-1.2-r2.ebuild | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/games-puzzle/textmaze/textmaze-1.2-r2.ebuild 
b/games-puzzle/textmaze/textmaze-1.2-r2.ebuild
new file mode 100644
index 000000000000..e73d6073a677
--- /dev/null
+++ b/games-puzzle/textmaze/textmaze-1.2-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${PN}_v${PV}"
+DESCRIPTION="Ncurses-based maze solving game written in Perl"
+HOMEPAGE="https://robobunny.com/projects/textmaze/html/";
+SRC_URI="https://robobunny.com/projects/${PN}/${MY_P}.tar.gz";
+S="${WORKDIR}/TextMaze"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-perl/Curses"
+
+src_prepare() {
+       default
+       sed -i \
+               -e "s#/usr/local/bin/perl#/usr/bin/perl#" \
+               textmaze || die
+}
+
+src_install() {
+       dobin textmaze
+       einstalldocs
+}

Reply via email to