From bc9ec0312c77c467c3f476d6496cdb4649083ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakov=20Smoli=C4=87?= Date: Thu, 21 Oct 2021 12:41:45 +0200 Subject: [PATCH] x11-themes/gentoo10-backgrounds: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- .../gentoo10-backgrounds-20110309.ebuild | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild b/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild index 7718adab6a514..b2c3afe621c4b 100644 --- a/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild +++ b/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild @@ -1,31 +1,24 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 DESCRIPTION="Gentoo - 10 Years Compiling Background Artwork" HOMEPAGE="https://www.gentoo.org/inside-gentoo/artwork/" - SRC_URI="https://dev.gentoo.org/~flameeyes/${P}.tar.xz" - -LICENSE="CC-BY-SA-3.0" -KEYWORDS="amd64 ~mips x86" -IUSE="" - -RDEPEND="" -DEPEND="app-arch/xz-utils" - S="${WORKDIR}/${PN}" +LICENSE="CC-BY-SA-3.0" SLOT="0" +KEYWORDS="amd64 ~mips x86" + +BDEPEND="app-arch/xz-utils" src_prepare() { + default sed -i -e "s:/usr/:${EPREFIX}/usr/:" *.xml || die } -src_compile() { :; } -src_test() { :; } - src_install() { insinto /usr/share/backgrounds/gentoo10