summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild')
-rw-r--r--app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild
index b217f0feaf8c..5da7ee612380 100644
--- a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild
+++ b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild
@@ -4,7 +4,7 @@
EAPI="6"
PYTHON_COMPAT=( python3_6 )
-inherit gnome2-utils python-r1
+inherit gnome2-utils python-r1 xdg
DESCRIPTION="Chinese Cangjie and Quick engines for IBus"
HOMEPAGE="http://cangjians.github.io/"
@@ -37,10 +37,16 @@ src_install() {
python_foreach_impl default
}
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
pkg_postinst() {
+ xdg_pkg_postinst
gnome2_icon_cache_update
}
pkg_postrm() {
+ xdg_pkg_postrm
gnome2_icon_cache_update
}