commit:     f518b2af305b931df4533dbea276f13279d74d60
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Apr 18 00:53:34 2021 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Sun Apr 18 00:53:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f518b2af

games-arcade/taisei: Migrate from xdg-utils to xdg eclass.

Allows to drop the pkg_* phases.

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 games-arcade/taisei/taisei-1.3.1-r1.ebuild | 14 +-------------
 games-arcade/taisei/taisei-9999.ebuild     | 14 +-------------
 2 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/games-arcade/taisei/taisei-1.3.1-r1.ebuild 
b/games-arcade/taisei/taisei-1.3.1-r1.ebuild
index 381361ff3..8ec848b13 100644
--- a/games-arcade/taisei/taisei-1.3.1-r1.ebuild
+++ b/games-arcade/taisei/taisei-1.3.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8,9} )
 
-inherit meson python-any-r1 xdg-utils
+inherit meson python-any-r1 xdg
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -54,15 +54,3 @@ src_configure() {
        )
        meson_src_configure
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}

diff --git a/games-arcade/taisei/taisei-9999.ebuild 
b/games-arcade/taisei/taisei-9999.ebuild
index a50bcba07..a1029653d 100644
--- a/games-arcade/taisei/taisei-9999.ebuild
+++ b/games-arcade/taisei/taisei-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8,9} )
 
-inherit meson python-any-r1 xdg-utils
+inherit meson python-any-r1 xdg
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -55,15 +55,3 @@ src_configure() {
        )
        meson_src_configure
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}

Reply via email to