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 94dab249fb7a0..e115907ec1e60 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 16e0d2d5ba333..1029752194f62 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 +}