From: Marty E. Plummer Date: Fri, 3 Aug 2018 01:22:12 +0000 (-0500) Subject: games-arcade/opentyrian: add gnome2-utils X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af520e35560e761d31f6988e8a28b65cefcb291e;p=gentoo.git games-arcade/opentyrian: add gnome2-utils Needed for gnome2_icon_cache_update in pkg_postinst and pkg_postrm. Package-Manager: Portage-2.3.44, Repoman-2.3.10 --- diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild index f1b0678fb4ea..fc82628bc521 100644 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit desktop +inherit desktop gnome2-utils DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" @@ -47,3 +47,11 @@ src_install() { rm *.exe dpmi16bi.ovl loudness.awe || die "Failed to remove win32 binaries" doins * || die "Failed to install game data" } + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}