projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c563ace
)
app-text/krop: Run xdg_{desktop,mimeinfo}_database_update
author
Andreas Sturmlechner
<asturm@gentoo.org>
Sun, 7 Jan 2018 14:46:21 +0000
(15:46 +0100)
committer
Andreas Sturmlechner
<asturm@gentoo.org>
Sun, 7 Jan 2018 14:51:01 +0000
(15:51 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-text/krop/krop-0.4.13.5.ebuild
patch
|
blob
|
history
diff --git
a/app-text/krop/krop-0.4.13.5.ebuild
b/app-text/krop/krop-0.4.13.5.ebuild
index f2542d1c5965b249e3b58dd85715dbe4029912e1..108c5f32c840f135f6e77f9a030d17c8857d8198 100644
(file)
--- a/
app-text/krop/krop-0.4.13.5.ebuild
+++ b/
app-text/krop/krop-0.4.13.5.ebuild
@@
-4,7
+4,7
@@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-inherit eutils distutils-r1
+inherit eutils distutils-r1
xdg-utils
DESCRIPTION="A tool to crop PDF files"
HOMEPAGE="http://arminstraub.com/software/krop"
@@
-25,3
+25,13
@@
src_install() {
distutils-r1_src_install
domenu "${WORKDIR}/${P}/${PN}.desktop"
}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}