summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-08-01 21:30:43 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-08-01 21:30:43 +0900
commit7b3783e7ccd5c01017b09b24e57e1565bf04e691 (patch)
tree3e2d79d7e95c6bb4678a93e0fc0ef9f9c0ecda1b /app-i18n/ibus-cangjie
parentapp-i18n/libcangjie: update to EAPI 7 (diff)
downloadgentoo-7b3783e7ccd5c01017b09b24e57e1565bf04e691.tar.gz
gentoo-7b3783e7ccd5c01017b09b24e57e1565bf04e691.tar.bz2
gentoo-7b3783e7ccd5c01017b09b24e57e1565bf04e691.zip
app-i18n/ibus-cangjie: use xdg eclass
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-cangjie')
-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
}