summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-29 15:49:20 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-29 16:53:14 -0400
commit671d46737165eecb6d91bb39e4c05e391a3b40af (patch)
tree322b77cf445ae01e78c0035cacfe9d3c9d4d03c9 /games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
parentgames-board/megamek: add .desktop icon (diff)
downloadgentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.tar.gz
gentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.tar.bz2
gentoo-671d46737165eecb6d91bb39e4c05e391a3b40af.zip
games-rpg/egoboo: add .desktop icon, EAPI 7->8
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-rpg/egoboo/egoboo-2.8.1-r2.ebuild')
-rw-r--r--games-rpg/egoboo/egoboo-2.8.1-r2.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
index e3b415e57a83..bf1c7737e7f0 100644
--- a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
+++ b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit desktop toolchain-funcs
DESCRIPTION="3D dungeon crawling adventure in the spirit of NetHack"
HOMEPAGE="http://egoboo.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
LICENSE="GPL-3+"
SLOT="0"
@@ -53,5 +55,6 @@ src_install() {
insinto /etc/${PN}
doins controls.txt setup.txt
- make_desktop_entry ${PN} Egoboo applications-games "Game;"
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} Egoboo
}