commit:     af520e35560e761d31f6988e8a28b65cefcb291e
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Aug  3 01:22:12 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 27 21:23:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af520e35

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

 games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild 
b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
index f1b0678fb4e..fc82628bc52 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
+}

Reply via email to