media-sound/mplay: Port to EAPI 7

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2019-05-28 19:22:36 +02:00
parent 0d897ff919
commit c4bd0dcc8f
+9 -11
View File
@@ -1,7 +1,7 @@
# 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"
@@ -10,7 +10,6 @@ SRC_URI="mirror://sourceforge/mplay/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-lang/perl
>=dev-perl/MP3-Info-1.11
@@ -21,19 +20,18 @@ RDEPEND="dev-lang/perl
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
}