summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mplay/mplay-0.80.ebuild')
-rw-r--r--media-sound/mplay/mplay-0.80.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/media-sound/mplay/mplay-0.80.ebuild b/media-sound/mplay/mplay-0.80.ebuild
index 3028ace5c923..a3cd7a2a79cf 100644
--- a/media-sound/mplay/mplay-0.80.ebuild
+++ b/media-sound/mplay/mplay-0.80.ebuild
@@ -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
}