commit:     eb8d6acf4bbf1d5078d96a2040f295625a2c6999
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 21:32:14 2019 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 21:34:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8d6acf

net-misc/nextcloud-client: use xdg eclass

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-misc/nextcloud-client/nextcloud-client-2.6.0.ebuild | 8 ++------
 net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/net-misc/nextcloud-client/nextcloud-client-2.6.0.ebuild 
b/net-misc/nextcloud-client/nextcloud-client-2.6.0.ebuild
index 6a82390c3c0..9b0d12160a7 100644
--- a/net-misc/nextcloud-client/nextcloud-client-2.6.0.ebuild
+++ b/net-misc/nextcloud-client/nextcloud-client-2.6.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils xdg-utils
+inherit cmake-utils xdg
 
 DESCRIPTION="Desktop Syncing Client for Nextcloud"
 HOMEPAGE="https://github.com/nextcloud/desktop";
@@ -79,13 +79,9 @@ src_configure() {
 }
 
 pkg_postinst() {
+       xdg_pkg_postinst
        if ! use doc ; then
                elog "Documentation and man pages not installed"
                elog "Enable doc USE-flag to generate them"
        fi
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
 }

diff --git a/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild 
b/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
index 6a82390c3c0..9b0d12160a7 100644
--- a/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
+++ b/net-misc/nextcloud-client/nextcloud-client-2.6.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils xdg-utils
+inherit cmake-utils xdg
 
 DESCRIPTION="Desktop Syncing Client for Nextcloud"
 HOMEPAGE="https://github.com/nextcloud/desktop";
@@ -79,13 +79,9 @@ src_configure() {
 }
 
 pkg_postinst() {
+       xdg_pkg_postinst
        if ! use doc ; then
                elog "Documentation and man pages not installed"
                elog "Enable doc USE-flag to generate them"
        fi
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
 }

Reply via email to