From 9a1aee3f2e39aff1b6434b889f7d5545d360268a Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Thu, 21 Oct 2021 12:21:41 +0200 Subject: x11-themes/gartoon: Port to EAPI 8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- x11-themes/gartoon/gartoon-0.5-r2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11-themes/gartoon') diff --git a/x11-themes/gartoon/gartoon-0.5-r2.ebuild b/x11-themes/gartoon/gartoon-0.5-r2.ebuild index d96da6db459f..afc3705691eb 100644 --- a/x11-themes/gartoon/gartoon-0.5-r2.ebuild +++ b/x11-themes/gartoon/gartoon-0.5-r2.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 DESCRIPTION="Gartoon SVG icon theme" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="mirror://gentoo/${P}.tar.gz" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" KEYWORDS="amd64 ~ppc sparc ~x86" @@ -13,13 +14,12 @@ SLOT="0" RESTRICT="binchecks strip" -S=${WORKDIR}/${PN} - pkg_setup() { mydest="/usr/share/icons/${PN}" } src_prepare() { + default sed -i \ -e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${mydest}/scalable/stock\":" \ scalable/stock/iconrc || die -- cgit v1.2.3-65-gdbad