www-client/qupzilla: enhance with xdg_desktop_database_update

Closes: https://bugs.gentoo.org/640776
Closes: https://github.com/gentoo/gentoo/pull/6525
This commit is contained in:
StefanCristian
2017-12-21 20:44:09 +11:00
committed by Michael Palimaka
parent 3f585a1edb
commit 3a2b0d4e26
+9 -1
View File
@@ -12,7 +12,7 @@ PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_ES es_MX es_VE eu_ES
PLUGINS_HASH='c332d306c0f6cf645c75eaf198d2fc5e12339e9e'
PLUGINS_VERSION='2016.05.02' # if there are no updates, we can use the older archive
inherit l10n qmake-utils
inherit l10n qmake-utils xdg-utils
if [[ ${PV} == *9999 ]]; then
inherit git-r3
@@ -107,3 +107,11 @@ src_install() {
emake INSTALL_ROOT="${D}" install
einstalldocs
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}