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

move to EAPI 7

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Aisha Tammy
2021-02-04 18:18:49 +00:00
committed by Andreas Sturmlechner
parent a420c58f46
commit f8dea25c3e
2 changed files with 13 additions and 22 deletions

View File

@@ -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>desktop-misc@gentoo.org</email>
<name>Gentoo Desktop Miscellaneous Project</name>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@@ -1,24 +1,19 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit xdg-utils
EAPI=7
inherit xdg
DESCRIPTION="A scalable icon theme called Nuovo"
HOMEPAGE="http://www.silvestre.com.ar/"
SRC_URI="http://www.silvestre.com.ar/icons/dlg-nuovo-${PV}.tar.bz2"
SRC_URI="mirror://gentoo/dlg-nuovo-${PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
RDEPEND="!minimal? ( x11-themes/adwaita-icon-theme )"
DEPEND=""
RESTRICT="binchecks strip"
S=${WORKDIR}
S="${WORKDIR}"
src_install() {
dodoc Nuovo/{AUTHORS,Changelog,README}
@@ -27,11 +22,3 @@ src_install() {
insinto /usr/share/icons
doins -r Nuovo
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}