app-i18n/ibus-hangul: use xdg eclass
authorAkinori Hattori <hattya@gentoo.org>
Mon, 18 May 2020 14:39:42 +0000 (23:39 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Mon, 18 May 2020 14:39:42 +0000 (23:39 +0900)
Bug: https://bugs.gentoo.org/721984
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild [moved from app-i18n/ibus-hangul/ibus-hangul-1.5.1-r1.ebuild with 88% similarity]
app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild [moved from app-i18n/ibus-hangul/ibus-hangul-1.5.3.ebuild with 88% similarity]

similarity index 88%
rename from app-i18n/ibus-hangul/ibus-hangul-1.5.1-r1.ebuild
rename to app-i18n/ibus-hangul/ibus-hangul-1.5.1-r2.ebuild
index ceed84bddaea56b9cbc59eeb6db6cfc3f5f2397b..f64e6f605302e8756977087dec65d15a4bd1bf05 100644 (file)
@@ -4,7 +4,7 @@
 EAPI="7"
 PYTHON_COMPAT=( python3_6 )
 
-inherit gnome2-utils python-single-r1
+inherit gnome2-utils python-single-r1 xdg
 
 DESCRIPTION="Korean Hangul engine for IBus"
 HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki"
@@ -34,10 +34,16 @@ src_configure() {
                --with-python=${EPYTHON}
 }
 
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
 pkg_postinst() {
+       xdg_pkg_postinst
        gnome2_icon_cache_update
 }
 
 pkg_postrm() {
+       xdg_pkg_postrm
        gnome2_icon_cache_update
 }
similarity index 88%
rename from app-i18n/ibus-hangul/ibus-hangul-1.5.3.ebuild
rename to app-i18n/ibus-hangul/ibus-hangul-1.5.3-r1.ebuild
index 393fcb686cec1876bc0bc7bd362194cbb1740b6f..e6bf4ebc07e2351bd4cf9d06bc1b55834587ab88 100644 (file)
@@ -4,7 +4,7 @@
 EAPI="7"
 PYTHON_COMPAT=( python3_{6,7} )
 
-inherit gnome2-utils python-single-r1
+inherit gnome2-utils python-single-r1 xdg
 
 DESCRIPTION="Korean Hangul engine for IBus"
 HOMEPAGE="https://github.com/libhangul/ibus-hangul/wiki"
@@ -33,10 +33,16 @@ src_configure() {
                --with-python=${EPYTHON}
 }
 
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
 pkg_postinst() {
+       xdg_pkg_postinst
        gnome2_icon_cache_update
 }
 
 pkg_postrm() {
+       xdg_pkg_postrm
        gnome2_icon_cache_update
 }