From: David Seifert Date: Thu, 17 Oct 2019 22:37:57 +0000 (+0200) Subject: media-sound/wmsound-data: Port to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=25493ad2dd5460b80513b80d81b251d76d69bcc5;p=gentoo.git 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 --- 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 a3caefa71ad5..0cec6efcb2b3 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 }