commit:     23a5b441349db37d0e20eb065a00c343e5d51339
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 13:36:12 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat May 16 13:36:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a5b441

app-i18n/ibus-typing-booster: use xdg eclass

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 .../ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild   | 14 +++++++++++++-
 .../ibus-typing-booster/ibus-typing-booster-2.8.2.ebuild   | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
index bc08d3c8bed..a1697767ab8 100644
--- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.0.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
 PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE="sqlite(+)"
 
-inherit python-single-r1
+inherit python-single-r1 xdg
 
 DESCRIPTION="Completion input method for IBus"
 HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster";
@@ -31,3 +31,15 @@ RDEPEND="${DEPEND}
        >=dev-db/m17n-db-1.7"
 BDEPEND="sys-devel/gettext
        virtual/pkgconfig"
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

diff --git a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.2.ebuild 
b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.2.ebuild
index bc08d3c8bed..a1697767ab8 100644
--- a/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.2.ebuild
+++ b/app-i18n/ibus-typing-booster/ibus-typing-booster-2.8.2.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
 PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE="sqlite(+)"
 
-inherit python-single-r1
+inherit python-single-r1 xdg
 
 DESCRIPTION="Completion input method for IBus"
 HOMEPAGE="https://mike-fabian.github.io/ibus-typing-booster";
@@ -31,3 +31,15 @@ RDEPEND="${DEPEND}
        >=dev-db/m17n-db-1.7"
 BDEPEND="sys-devel/gettext
        virtual/pkgconfig"
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

Reply via email to