From f52ebdc7e6cbef8a27e722d4a4f152c890901e0f Mon Sep 17 00:00:00 2001 From: James Calligeros Date: Sat, 14 Dec 2024 20:35:56 +1000 Subject: [PATCH] games-util/steam: inherit xdg.eclass Does some helpful things, like explicitly depend on the utilities required to update the desktop cache Signed-off-by: James Calligeros --- .../{steam-0.0.1.ebuild => steam-0.0.1-r1.ebuild} | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename games-util/steam/{steam-0.0.1.ebuild => steam-0.0.1-r1.ebuild} (89%) diff --git a/games-util/steam/steam-0.0.1.ebuild b/games-util/steam/steam-0.0.1-r1.ebuild similarity index 89% rename from games-util/steam/steam-0.0.1.ebuild rename to games-util/steam/steam-0.0.1-r1.ebuild index 7ff8013..0f58375 100644 --- a/games-util/steam/steam-0.0.1.ebuild +++ b/games-util/steam/steam-0.0.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit desktop xdg-utils +inherit desktop xdg STEAMVER="1.0.0.81" ARM64_WRAPPER_COMMIT="fb3e8aeaffe5bb374b34f2eacc91130a05b17b21" @@ -60,8 +60,13 @@ src_install() { } pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update + xdg_pkg_postinst einfo "Steam has been installed. To launch steam, use the desktop entry or" - einfo "run /usr/bin/steam-aarch64 from a tty." + einfo "run /usr/bin/steam-aarch64 from the terminal." + default +} + +pkg_postrm() { + xdg_pkg_postrm + default }