From: Akinori Hattori Date: Sat, 16 May 2020 13:36:12 +0000 (+0900) Subject: app-i18n/ibus-typing-booster: use xdg eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=23a5b441349db37d0e20eb065a00c343e5d51339;p=gentoo.git app-i18n/ibus-typing-booster: use xdg eclass Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- 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 bc08d3c8bedf..a1697767ab8d 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 bc08d3c8bedf..a1697767ab8d 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 +}