commit:     25493ad2dd5460b80513b80d81b251d76d69bcc5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 22:37:57 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 22:37:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25493ad2

media-sound/wmsound-data: Port to EAPI 7

Closes: https://bugs.gentoo.org/697272
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/wmsound-data/wmsound-data-1.0.0.ebuild | 24 +++++++++-------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/media-sound/wmsound-data/wmsound-data-1.0.0.ebuild 
b/media-sound/wmsound-data/wmsound-data-1.0.0.ebuild
index a3caefa71ad..0cec6efcb2b 100644
--- a/media-sound/wmsound-data/wmsound-data-1.0.0.ebuild
+++ b/media-sound/wmsound-data/wmsound-data-1.0.0.ebuild
@@ -1,23 +1,21 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
-
-IUSE=""
+EAPI=7
 
 DESCRIPTION="A bunch of sounds for WindowMaker Sound Server"
-SRC_URI="http://largo.windowmaker.org/files/worms2sounds.tar.gz
-               http://largo.windowmaker.org/files/wmsdefault.tar.gz";
 HOMEPAGE="http://largo.windowmaker.org/";
+SRC_URI="
+       http://largo.windowmaker.org/files/worms2sounds.tar.gz
+       http://largo.windowmaker.org/files/wmsdefault.tar.gz";
 
-DEPEND=">=x11-wm/windowmaker-0.80.2-r2"
-
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="amd64 ~ppc sparc x86"
 
-S1=${WORKDIR}/Sounds
-S2=${WORKDIR}/SoundSets
+RDEPEND=">=x11-wm/windowmaker-0.80.2-r2"
+
+S="${WORKDIR}"
 
 src_install() {
        insinto /usr/share/WindowMaker/Defaults
@@ -32,11 +30,9 @@ src_install() {
        insinto /usr/share/WindowMaker/SoundSets/Default
        doins "${FILESDIR}"/wmsound-soundset
 
-       cd "${S1}"
        insinto /usr/share/WindowMaker/Sounds
-       doins *.wav
+       doins Sounds/*.wav
 
-       cd "${S2}"
        insinto /usr/share/WindowMaker/SoundSets
-       doins Worms2
+       doins SoundSets/Worms2
 }

Reply via email to