commit:     8c1e42deb79f1ccbb0ffaa1526731039af792cf1
Author:     Ervin Peters <ervin.peters <AT> ervnet <DOT> de>
AuthorDate: Sat Nov 18 01:23:42 2017 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 01:26:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c1e42de

app-editors/scite: Add inherit xdg-utils

Closes: https://bugs.gentoo.org/628716
Package-Manager: Portage-2.3.14, Repoman-2.3.5

 app-editors/scite/scite-3.5.5.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-editors/scite/scite-3.5.5.ebuild 
b/app-editors/scite/scite-3.5.5.ebuild
index e6365031367..e780172d8de 100644
--- a/app-editors/scite/scite-3.5.5.ebuild
+++ b/app-editors/scite/scite-3.5.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-inherit toolchain-funcs eutils
+inherit toolchain-funcs eutils xdg-utils
 
 MY_PV=${PV//./}
 DESCRIPTION="A very powerful editor for programmers"
@@ -82,3 +82,11 @@ src_install() {
        doman ../doc/scite.1
        dodoc ../README
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+}

Reply via email to