From 55768dacc7692722c4ca4fed90272b06f734eba8 Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Sat, 19 Aug 2017 01:44:11 +0100 Subject: net-im/qtox: add updating icon cache and .desktop database Also removed no longer needed toolchain-funcs from inherits. Closes: https://github.com/gentoo/gentoo/pull/5473 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- net-im/qtox/qtox-9999.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'net-im/qtox/qtox-9999.ebuild') diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild index cd4bd86f7e95..dd9f1a5c5026 100644 --- a/net-im/qtox/qtox-9999.ebuild +++ b/net-im/qtox/qtox-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils eutils git-r3 +inherit cmake-utils eutils git-r3 gnome2-utils xdg-utils DESCRIPTION="Most feature-rich GUI for net-libs/tox using Qt5" HOMEPAGE="https://github.com/qTox/qTox" @@ -53,3 +53,13 @@ src_configure() { cmake-utils_src_configure } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.3-65-gdbad