Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
+EAPI=7
DESCRIPTION="A Curses front-end for mplayer"
HOMEPAGE="http://mplay.sourceforge.net"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
-IUSE=""
RDEPEND="dev-lang/perl
>=dev-perl/MP3-Info-1.11
dev-perl/Video-Info
media-video/mplayer"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues."
+src_prepare() {
+ default
+ sed -i 's:/usr/local:/usr:g' mplay || die "Unable fix the /usr/local path issues"
}
src_install() {
- dobin mplay || die
- dodoc README || die
+ dobin mplay
+ einstalldocs
- cd "${S}"/help
+ cd help || die
insinto /usr/share/mplay
- doins help_en help_de mplayconf || die
+ doins help_en help_de mplayconf
doman mplay.1
}