media-sound/awesfx: EAPI-7 bump, missing || die
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:51:14 +0000 (10:51 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 30 Mar 2019 09:58:24 +0000 (10:58 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/awesfx/awesfx-0.5.1e.ebuild

index 1c993f9197626e5b39b148d3041cb69e1b48e387..2e218cacb6b7e6c94558abc754876f5948c1f4e2 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 DESCRIPTION="AWE32 Sound Driver Utility Programs"
 HOMEPAGE="http://ftp.suse.com/pub/people/tiwai/awesfx"
@@ -12,8 +12,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
-RDEPEND="media-libs/alsa-lib"
-DEPEND="${RDEPEND}"
+DEPEND="media-libs/alsa-lib"
+RDEPEND="${DEPEND}"
 
 BANK_LOC="${EPREFIX}/usr/share/sounds/sf2"
 
@@ -27,7 +27,7 @@ src_configure() {
 src_install() {
        default
 
-       rm -f "${ED}"/usr/share/sounds/sf2/README-bank
+       rm "${ED}"/usr/share/sounds/sf2/README-bank || die
        newinitd "${FILESDIR}"/sfxload.initd sfxload
        newconfd "${FILESDIR}"/sfxload.confd sfxload
 }