summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2015-10-15 13:49:13 +0200
committerLuis Ressel <aranea@aixah.de>2015-10-19 13:35:54 +0200
commite8e425e079768209108543a8ed5fcc64dbf16a68 (patch)
treeaddf62fbec59c0b862746ec8175a294c6a176b9d /games-roguelike/nethack
parentgames-roguelike/nethack: Move HACKDIR to /usr/lib (diff)
downloadgentoo-e8e425e079768209108543a8ed5fcc64dbf16a68.tar.gz
gentoo-e8e425e079768209108543a8ed5fcc64dbf16a68.tar.bz2
gentoo-e8e425e079768209108543a8ed5fcc64dbf16a68.zip
games-roguelike/nethack: Install nethack menu icon
X-Gentoo-Bug: 132754
Diffstat (limited to 'games-roguelike/nethack')
-rw-r--r--games-roguelike/nethack/nethack-3.4.3-r5.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild
index 40ffcfc0dbf..48ba257c0aa 100644
--- a/games-roguelike/nethack/nethack-3.4.3-r5.ebuild
+++ b/games-roguelike/nethack/nethack-3.4.3-r5.ebuild
@@ -177,11 +177,13 @@ src_install() {
-e 's:^!\(NetHack.tile_file.*\):\1:' \
"${D}/etc/X11/app-defaults/NetHack" \
|| die "sed /etc/X11/app-defaults/NetHack failed"
+
+ newicon nh_icon.xpm nethack.xpm
+ make_desktop_entry ${PN} Nethack
fi
keepdir "${STATEDIR}/save"
rm "${D}/${HACKDIR}/"{logfile,perm,record}
- make_desktop_entry nethack "Nethack"
fowners -R "root:${NETHACK_GROUP}" "${STATEDIR}"
fperms -R 660 "${STATEDIR}"