From 318a8ff7020ca0ecde19feaed7c302a2bd24df69 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 19 Apr 2021 23:12:47 +0100 Subject: x11-themes/gartoon-redux: port to EAPI 7 Signed-off-by: Sam James --- .../gartoon-redux/gartoon-redux-1.10-r1.ebuild | 28 +++++++++++++++------- 1 file changed, 19 insertions(+), 9 deletions(-) (limited to 'x11-themes') diff --git a/x11-themes/gartoon-redux/gartoon-redux-1.10-r1.ebuild b/x11-themes/gartoon-redux/gartoon-redux-1.10-r1.ebuild index aeaa7890f999..9d96533afe71 100644 --- a/x11-themes/gartoon-redux/gartoon-redux-1.10-r1.ebuild +++ b/x11-themes/gartoon-redux/gartoon-redux-1.10-r1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit epatch gnome2-utils +EAPI=7 + +inherit gnome2-utils DESCRIPTION="A massively improved variant of the well-known Gartoon theme" HOMEPAGE="https://gnome-look.org/content/show.php/?content=74841" @@ -12,7 +13,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND=" +BDEPEND=" dev-lang/perl dev-perl/Switch gnome-base/librsvg @@ -20,9 +21,9 @@ DEPEND=" RESTRICT="binchecks strip" -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.10-rsvg-convert.patch -} +PATCHES=( + "${FILESDIR}"/${PN}-1.10-rsvg-convert.patch +) src_configure() { # perl script, not autotools based @@ -40,6 +41,15 @@ src_install() { dodoc AUTHORS changelog README TODO } -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } +pkg_preinst() { + gnome2_icon_savelist + +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad