1 |
commit: 7b3783e7ccd5c01017b09b24e57e1565bf04e691 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 1 12:30:43 2020 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 1 12:30:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3783e7 |
7 |
|
8 |
app-i18n/ibus-cangjie: use xdg eclass |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
12 |
|
13 |
app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild | 8 +++++++- |
14 |
1 file changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild |
17 |
index b217f0feaf8..5da7ee61238 100644 |
18 |
--- a/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild |
19 |
+++ b/app-i18n/ibus-cangjie/ibus-cangjie-2.4-r1.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
EAPI="6" |
22 |
PYTHON_COMPAT=( python3_6 ) |
23 |
|
24 |
-inherit gnome2-utils python-r1 |
25 |
+inherit gnome2-utils python-r1 xdg |
26 |
|
27 |
DESCRIPTION="Chinese Cangjie and Quick engines for IBus" |
28 |
HOMEPAGE="http://cangjians.github.io/" |
29 |
@@ -37,10 +37,16 @@ src_install() { |
30 |
python_foreach_impl default |
31 |
} |
32 |
|
33 |
+pkg_preinst() { |
34 |
+ xdg_pkg_preinst |
35 |
+} |
36 |
+ |
37 |
pkg_postinst() { |
38 |
+ xdg_pkg_postinst |
39 |
gnome2_icon_cache_update |
40 |
} |
41 |
|
42 |
pkg_postrm() { |
43 |
+ xdg_pkg_postrm |
44 |
gnome2_icon_cache_update |
45 |
} |