summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-29 15:17:50 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-29 16:53:11 -0400
commit1b86e307d1a68c6ca0fa0976f13edfa595230672 (patch)
tree87c24508460ce42df0707c9c5737423646e2ab9f /games-arcade
parentgames-action/heroes: add .desktop icon (diff)
downloadgentoo-1b86e307d1a68c6ca0fa0976f13edfa595230672.tar.gz
gentoo-1b86e307d1a68c6ca0fa0976f13edfa595230672.tar.bz2
gentoo-1b86e307d1a68c6ca0fa0976f13edfa595230672.zip
games-arcade/abe: add .desktop icon, EAPI 7->8
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/abe/Manifest1
-rw-r--r--games-arcade/abe/abe-1.1-r1.ebuild13
2 files changed, 9 insertions, 5 deletions
diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest
index 0c3cc51f301a..98c62e38d0f4 100644
--- a/games-arcade/abe/Manifest
+++ b/games-arcade/abe/Manifest
@@ -1 +1,2 @@
DIST abe-1.1.tar.gz 3321075 BLAKE2B 2ab51bd9103e8954bbc27eceb81b4bb845ec84ee249f21aaefdc59df87689f865d3b62a8c2db9584b8361303028174b1a96b60e0caf88ee857f8ad0d3cd3d920 SHA512 6106fce9c72554596ac3f94551326381e98c0d40f7a5aa8ae7aeadaa234c113733e8df717bd1b18d2ba835f689982e859607c9d88ab2d59790ec00833a4e48c7
+DIST abe.png 3303 BLAKE2B a99f8a1c31b9f8704b201ca9edd7ab67b685bde4bd43f675e62f1ba3a5554a63dba009634cdc63a2855a51f82de8ea2818bfe5f390b2f9e176d55cd4476547b6 SHA512 421d87248d91bb315d9d02955271cad096c842857819fc7a91ad77571047770eb9487722cb1b2e43d602ad61e3c7eca4fd834e955724905b8b870a5dd66d2e2b
diff --git a/games-arcade/abe/abe-1.1-r1.ebuild b/games-arcade/abe/abe-1.1-r1.ebuild
index db902811eb95..d930d182e00d 100644
--- a/games-arcade/abe/abe-1.1-r1.ebuild
+++ b/games-arcade/abe/abe-1.1-r1.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="Scrolling, platform-jumping, key-collecting, ancient pyramid exploring game"
HOMEPAGE="http://abe.sourceforge.net/"
-SRC_URI="mirror://sourceforge/abe/${P}.tar.gz"
+SRC_URI="
+ mirror://sourceforge/abe/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
LICENSE="GPL-2"
SLOT="0"
@@ -39,12 +41,13 @@ src_configure() {
}
src_install() {
- dobin src/abe
+ dobin src/${PN}
insinto /usr/share/${PN}
doins -r images maps sounds
- make_desktop_entry abe "Abe's Amazing Adventure" applications-games
-
einstalldocs
+
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} "Abe's Amazing Adventure"
}