From: Joonas Niilola Date: Sun, 8 Dec 2019 10:07:53 +0000 (+0200) Subject: sci-electronics/librepcb: use xdg-utils.eclass X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=817ff99534427a77a9f04b8e3b1b0ccad9f544f7;p=gentoo.git sci-electronics/librepcb: use xdg-utils.eclass Signed-off-by: Joonas Niilola --- diff --git a/sci-electronics/librepcb/librepcb-0.1.3.ebuild b/sci-electronics/librepcb/librepcb-0.1.3.ebuild index 50dfacb22b3c..fe132f053703 100644 --- a/sci-electronics/librepcb/librepcb-0.1.3.ebuild +++ b/sci-electronics/librepcb/librepcb-0.1.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit qmake-utils +inherit qmake-utils xdg-utils DESCRIPTION="Free EDA software to develop printed circuit boards" HOMEPAGE="https://librepcb.org/" @@ -39,3 +39,15 @@ src_configure() { src_install() { emake INSTALL_ROOT="${D}" install } + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +}