summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Ilinykh <rion4ik@gmail.com>2017-09-24 15:38:30 +0500
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-24 13:57:22 +0200
commit667a418874b6d0182913da37cbf97f07ef84cdfc (patch)
treefad29190dfa93bee10f98a960e26370d5e98a5a1 /net-im/psi/psi-9999.ebuild
parentnet-p2p/eiskaltdcpp: Cleanup old and Qt4-based (diff)
downloadgentoo-667a418874b6d0182913da37cbf97f07ef84cdfc.tar.gz
gentoo-667a418874b6d0182913da37cbf97f07ef84cdfc.tar.bz2
gentoo-667a418874b6d0182913da37cbf97f07ef84cdfc.zip
net-im/psi: 1.3 version bump and cache fixes
Added calls to update icons/desktop cache on install/uninstall. Package-Manager: Portage-2.3.10, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5782
Diffstat (limited to 'net-im/psi/psi-9999.ebuild')
-rw-r--r--net-im/psi/psi-9999.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/net-im/psi/psi-9999.ebuild b/net-im/psi/psi-9999.ebuild
index 56868b48352b..20f9be17efad 100644
--- a/net-im/psi/psi-9999.ebuild
+++ b/net-im/psi/psi-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PLOCALES="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
PLOCALE_BACKUP="en"
-inherit l10n git-r3 qmake-utils
+inherit l10n git-r3 qmake-utils xdg-utils
DESCRIPTION="Qt XMPP client"
HOMEPAGE="http://psi-im.org/"
@@ -187,3 +187,13 @@ src_install() {
}
l10n_for_each_locale_do install_locale
}
+
+pkg_postinst(){
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}