commit:     2e06070f11c99bca42cad8411e71e8dfbf4f7d6f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 11:03:25 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 11:24:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e06070f

media-sound/justeport: Bump to EAPI 7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-sound/justeport/justeport-0.2.ebuild | 22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

diff --git a/media-sound/justeport/justeport-0.2.ebuild 
b/media-sound/justeport/justeport-0.2.ebuild
index 2091e8017f7..9ae64884305 100644
--- a/media-sound/justeport/justeport-0.2.ebuild
+++ b/media-sound/justeport/justeport-0.2.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
 
 inherit mono multilib
 
@@ -11,7 +11,7 @@ DESCRIPTION="Stream audio to your AirPort Express"
 HOMEPAGE="http://nanocrew.net/software/justeport/";
 SRC_URI="http://nanocrew.net/sw/justeport/${MY_P}.tar.gz";
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
@@ -21,20 +21,10 @@ RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       cp "${FILESDIR}"/wrapper-script .
-       sed -i -e "s:LIBDIR:$(get_libdir):" wrapper-script || die "sed failed."
-}
-
-src_compile() {
-       emake || die "emake failed."
-}
-
 src_install() {
        insinto /usr/$(get_libdir)/justeport
-       doins *.exe || die "doins failed."
-       newbin wrapper-script justeport || die "newbin failed."
+       doins *.exe
+       newbin - justeport \
+               < <(sed -e "s:LIBDIR:$(get_libdir):" 
"${FILESDIR}"/wrapper-script)
        dodoc AUTHORS ChangeLog README THANKS
 }

Reply via email to