commit:     74bfda505e3610bbc8f5a63a3aa27abd9054e7a0
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 08:58:12 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 08:58:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bfda50

app-text/zathura-cb: call xdg_desktop_database_update

Closes: https://bugs.gentoo.org/735700
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 app-text/zathura-cb/zathura-cb-0.1.8.ebuild | 12 ++++++++++--
 app-text/zathura-cb/zathura-cb-9999.ebuild  | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild 
b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
index 2fad557959c..237c58a1247 100644
--- a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
+++ b/app-text/zathura-cb/zathura-cb-0.1.8.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
@@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9
 RDEPEND="${DEPEND}"
 
 BDEPEND="virtual/pkgconfig"
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

diff --git a/app-text/zathura-cb/zathura-cb-9999.ebuild 
b/app-text/zathura-cb/zathura-cb-9999.ebuild
index 5e59ea0d4e2..a5d47c0a1d7 100644
--- a/app-text/zathura-cb/zathura-cb-9999.ebuild
+++ b/app-text/zathura-cb/zathura-cb-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
@@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9
 RDEPEND="${DEPEND}"
 
 BDEPEND="virtual/pkgconfig"
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to