Skip to content

Commit

Permalink
games-puzzle/textmaze: Stop using games.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
pacho2 committed May 1, 2018
1 parent 1a00fe0 commit b2d5f41
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions games-puzzle/textmaze/textmaze-1.2-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_P=${PN}_v${PV}
DESCRIPTION="An ncurses-based maze solving game written in Perl"
HOMEPAGE="http://robobunny.com/projects/textmaze/html/"
SRC_URI="http://www.robobunny.com/projects/${PN}/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="dev-perl/Curses"
DEPEND=""

S="${WORKDIR}/TextMaze"

src_prepare() {
default
sed -i \
-e "s#/usr/local/bin/perl#/usr/bin/perl#" \
textmaze || die
}

src_install() {
dobin textmaze
einstalldocs
}

0 comments on commit b2d5f41

Please sign in to comment.