commit:     928f3c32332c610c4e13854bdaa4e00b500b8c9a
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 14:30:06 2020 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 14:39:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=928f3c32

app-i18n/ibus-table: use xdg eclass

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

 ...-table-1.9.18-r1.ebuild => ibus-table-1.9.18-r2.ebuild} | 14 +++++++++++++-
 ...-table-1.9.21-r1.ebuild => ibus-table-1.9.21-r2.ebuild} | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild 
b/app-i18n/ibus-table/ibus-table-1.9.18-r2.ebuild
similarity index 85%
rename from app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild
rename to app-i18n/ibus-table/ibus-table-1.9.18-r2.ebuild
index 3984c433363..32a4746c504 100644
--- a/app-i18n/ibus-table/ibus-table-1.9.18-r1.ebuild
+++ b/app-i18n/ibus-table/ibus-table-1.9.18-r2.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="Tables engines for IBus"
 HOMEPAGE="https://github.com/ibus/ibus/wiki";
@@ -37,3 +37,15 @@ src_prepare() {
 src_configure() {
        econf $(use_enable nls)
 }
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

diff --git a/app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild 
b/app-i18n/ibus-table/ibus-table-1.9.21-r2.ebuild
similarity index 85%
rename from app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild
rename to app-i18n/ibus-table/ibus-table-1.9.21-r2.ebuild
index 35165054cd6..779ffde98ca 100644
--- a/app-i18n/ibus-table/ibus-table-1.9.21-r1.ebuild
+++ b/app-i18n/ibus-table/ibus-table-1.9.21-r2.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="Tables engines for IBus"
 HOMEPAGE="https://github.com/ibus/ibus/wiki";
@@ -38,3 +38,15 @@ src_prepare() {
 src_configure() {
        econf $(use_enable nls)
 }
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

Reply via email to