diff options
author | David Seifert <soap@gentoo.org> | 2019-05-28 19:22:36 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-05-28 19:22:36 +0200 |
commit | c4bd0dcc8ff5fc04a68898eba57c15ef66d512b8 (patch) | |
tree | 8875a887010bfec3fe45cad3812ebe9124db0095 | |
parent | media-sound/mp3asm: Port to EAPI 7 (diff) | |
download | gentoo-c4bd0dcc8ff5fc04a68898eba57c15ef66d512b8.tar.gz gentoo-c4bd0dcc8ff5fc04a68898eba57c15ef66d512b8.tar.bz2 gentoo-c4bd0dcc8ff5fc04a68898eba57c15ef66d512b8.zip |
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>
-rw-r--r-- | media-sound/mplay/mplay-0.80.ebuild | 20 |
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 } |