summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-29 16:07:21 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-29 16:53:14 -0400
commit7b13ee028a871047cd845f289fdaffe93d56983b (patch)
treecb7ca5371779eb01af349c26fda2f3049f236b83 /games-board
parentgames-board/camato: add .desktop icon (diff)
downloadgentoo-7b13ee028a871047cd845f289fdaffe93d56983b.tar.gz
gentoo-7b13ee028a871047cd845f289fdaffe93d56983b.tar.bz2
gentoo-7b13ee028a871047cd845f289fdaffe93d56983b.zip
games-board/megamek: add .desktop icon
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/megamek/Manifest1
-rw-r--r--games-board/megamek/megamek-0.34.10-r2.ebuild7
2 files changed, 6 insertions, 2 deletions
diff --git a/games-board/megamek/Manifest b/games-board/megamek/Manifest
index 0cc315d57689..742957a1fd2e 100644
--- a/games-board/megamek/Manifest
+++ b/games-board/megamek/Manifest
@@ -1 +1,2 @@
DIST MegaMek-v0.34.10.zip 16677286 BLAKE2B 73c4ee9e38b4c50221c40c5d0cba1c13de00e586bf2cb9432c356f5c21045c26cfa64705b303c7213f29deda369a97ea5fba397c995c138731a66152c062c5b5 SHA512 943f6ed4f4d57197092a7aa09637f60827f23181a7b8b0991907fcc62109b471ea2ce53816a79dfcad9d8da65c9514be3190e924d9bf2b17aacf84fc1fa6e037
+DIST megamek.png 9264 BLAKE2B cdff3e992af93cfc8f31be0c4d959ff5598eb3f7be58abfae4043a3e1f324d1985fc0621540f14ff7a2e2b4bb5e22672a940494a8e7c8d3339ad8f49c4c60979 SHA512 12a19fcb4ece9ee0fc38b3af10c37b7d362df9a41403d86dd1cfd8fb40a7b06784c71b5b160177b72d7aba048b78c4482f5417406d4add7feb47d13078bc79cf
diff --git a/games-board/megamek/megamek-0.34.10-r2.ebuild b/games-board/megamek/megamek-0.34.10-r2.ebuild
index a1e76585011b..b7a7f31f4cf9 100644
--- a/games-board/megamek/megamek-0.34.10-r2.ebuild
+++ b/games-board/megamek/megamek-0.34.10-r2.ebuild
@@ -7,7 +7,9 @@ inherit desktop edos2unix java-pkg-2 java-ant-2
DESCRIPTION="Unofficial online version of the Classic BattleTech board game"
HOMEPAGE="https://megamek.org/"
-SRC_URI="mirror://sourceforge/${PN}/MegaMek-v${PV}.zip"
+SRC_URI="
+ mirror://sourceforge/${PN}/MegaMek-v${PV}.zip
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
S="${WORKDIR}"
LICENSE="GPL-2+"
@@ -43,5 +45,6 @@ src_install() {
dodoc HACKING readme.txt
- make_desktop_entry ${PN} MegaMek applications-games
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} MegaMek
}