summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xdvik/xdvik-22.87.03.ebuild')
-rw-r--r--app-text/xdvik/xdvik-22.87.03.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-text/xdvik/xdvik-22.87.03.ebuild b/app-text/xdvik/xdvik-22.87.03.ebuild
index 534a820e633..76037612857 100644
--- a/app-text/xdvik/xdvik-22.87.03.ebuild
+++ b/app-text/xdvik/xdvik-22.87.03.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils flag-o-matic elisp-common toolchain-funcs multilib
+inherit elisp-common eutils flag-o-matic multilib toolchain-funcs xdg-utils
DESCRIPTION="DVI previewer for X Window System"
HOMEPAGE="http://xdvi.sourceforge.net/"
@@ -92,6 +92,8 @@ src_install() {
}
pkg_postinst() {
+ xdg_desktop_database_update
+
if use emacs; then
elog "Add"
elog " (add-to-list 'load-path \"${EPREFIX}${SITELISP}/tex-utils\")"
@@ -99,3 +101,7 @@ pkg_postinst() {
elog "to your ~/.emacs file"
fi
}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}