commit:     97cc63fd0648b97934aaf5584574d1cb4b2c3c48
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Feb  4 17:16:43 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 20:49:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cc63fd

x11-themes/nou-icon-theme: fix eclass usage

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-themes/nou-icon-theme/metadata.xml             | 10 +++++---
 .../nou-icon-theme/nou-icon-theme-09.02.08.ebuild  | 29 ++++++----------------
 2 files changed, 15 insertions(+), 24 deletions(-)

diff --git a/x11-themes/nou-icon-theme/metadata.xml 
b/x11-themes/nou-icon-theme/metadata.xml
index cc1ab684739..52c3f63cafa 100644
--- a/x11-themes/nou-icon-theme/metadata.xml
+++ b/x11-themes/nou-icon-theme/metadata.xml
@@ -1,8 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="project">
-    <email>[email protected]</email>
-    <name>Gentoo Desktop Miscellaneous Project</name>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Aisha Tammy</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Proxy Maintainers</name>
   </maintainer>
 </pkgmetadata>

diff --git a/x11-themes/nou-icon-theme/nou-icon-theme-09.02.08.ebuild 
b/x11-themes/nou-icon-theme/nou-icon-theme-09.02.08.ebuild
index 8d7a1731ba6..ef9bfc9d1c6 100644
--- a/x11-themes/nou-icon-theme/nou-icon-theme-09.02.08.ebuild
+++ b/x11-themes/nou-icon-theme/nou-icon-theme-09.02.08.ebuild
@@ -1,26 +1,21 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit versionator xdg-utils
+EAPI=7
 
-MY_PV="$(delete_all_version_separators ${PV})"
+inherit xdg
 
-DESCRIPTION="A scalable icon theme called Nou"
+MY_PV="$(ver_rs 1- '')"
+
+DESCRIPTION="Scalable icon theme called Nou"
 HOMEPAGE="http://www.silvestre.com.ar/";
-SRC_URI="http://www.silvestre.com.ar/icons/Nou-${MY_PV}.tar.bz2";
+SRC_URI="mirror://gentoo/Nou-${MY_PV}.tar.bz2"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="minimal"
-
-RDEPEND="!minimal? ( || ( x11-themes/tango-icon-theme 
x11-themes/adwaita-icon-theme ) )"
-DEPEND=""
 
-RESTRICT="binchecks strip"
-
-S=${WORKDIR}
+S="${WORKDIR}"
 
 src_install() {
        dodoc Nou/{AUTHORS,README}
@@ -29,11 +24,3 @@ src_install() {
        insinto /usr/share/icons
        doins -r Nou
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

Reply via email to