media-sound/shorten: Port to EAPI 7
authorDavid Seifert <soap@gentoo.org>
Thu, 17 Oct 2019 22:37:47 +0000 (00:37 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 17 Oct 2019 22:37:47 +0000 (00:37 +0200)
Bug: https://bugs.gentoo.org/697272
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
media-sound/shorten/shorten-3.6.1.ebuild

index 633278326a9ad7a0f55122506b736a00f59b9d59..c0a5213789aeb5777a84f5aa17f8ec8ed95d0076 100644 (file)
@@ -1,9 +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
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="fast, low complexity waveform coder (i.e. audio compressor)"
 HOMEPAGE="http://shnutils.freeshell.org/shorten/"
@@ -13,13 +11,4 @@ LICENSE="shorten"
 SLOT="0"
 KEYWORDS="alpha amd64 ~ppc sparc x86"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}/${PN}-tests.patch"
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog NEWS README
-}
+PATCHES=( "${FILESDIR}"/${PN}-tests.patch )