commit: eee4e3d2774344992a174ed9478b366a1ac00e0f Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> AuthorDate: Mon Aug 24 09:01:00 2020 +0000 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> CommitDate: Mon Aug 24 09:01:00 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee4e3d2
app-text/zathura-ps: call xdg_desktop_database_update Closes: https://bugs.gentoo.org/735702 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> app-text/zathura-ps/zathura-ps-0.2.6.ebuild | 12 ++++++++++-- app-text/zathura-ps/zathura-ps-9999.ebuild | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild index 94dab249fb7..e115907ec1e 100644 --- a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild +++ b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit meson +inherit meson xdg-utils if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -29,3 +29,11 @@ DEPEND="app-text/libspectre RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/app-text/zathura-ps/zathura-ps-9999.ebuild b/app-text/zathura-ps/zathura-ps-9999.ebuild index 16e0d2d5ba3..1029752194f 100644 --- a/app-text/zathura-ps/zathura-ps-9999.ebuild +++ b/app-text/zathura-ps/zathura-ps-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit meson +inherit meson xdg-utils if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -29,3 +29,11 @@ DEPEND="app-text/libspectre RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}
