summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-21 22:37:04 +0100
committerSam James <sam@gentoo.org>2021-08-23 05:05:44 +0100
commit76c971c855e7c654a3f181ed6eab3e0525610cb3 (patch)
tree15ce54d69afe4b09a107c538b1c9290d399a1948
parentgames-arcade/jardinains: use non-relative wrapper path (diff)
downloadgentoo-76c971c855e7c654a3f181ed6eab3e0525610cb3.tar.gz
gentoo-76c971c855e7c654a3f181ed6eab3e0525610cb3.tar.bz2
gentoo-76c971c855e7c654a3f181ed6eab3e0525610cb3.zip
games-arcade/shovel-knight: tidy ebuild
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--games-arcade/shovel-knight/shovel-knight-3.3.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/games-arcade/shovel-knight/shovel-knight-3.3.ebuild b/games-arcade/shovel-knight/shovel-knight-3.3.ebuild
index 711593617539..c7f98580ae68 100644
--- a/games-arcade/shovel-knight/shovel-knight-3.3.ebuild
+++ b/games-arcade/shovel-knight/shovel-knight-3.3.ebuild
@@ -3,12 +3,13 @@
EAPI=7
-inherit desktop unpacker wrapper xdg-utils
+inherit desktop unpacker wrapper xdg
MY_PN="ShovelKnight"
DESCRIPTION="Sweeping classic action adventure with an 8-bit retro aesthetic"
HOMEPAGE="https://yachtclubgames.com/shovel-knight/"
SRC_URI="${PN//-/_}_treasure_trove_en_3_3_15418.sh"
+S="${WORKDIR}/data/noarch/game"
LICENSE="Yacht-Club-Games-EULA"
SLOT="0"
@@ -24,8 +25,6 @@ RDEPEND="
virtual/opengl
"
-S="${WORKDIR}/data/noarch/game"
-
DIR="/opt/${PN}"
QA_PREBUILT="${DIR#/}/*"
@@ -62,6 +61,3 @@ src_install() {
newicon -s 256 ../support/icon.png ${PN}.png
make_desktop_entry ${MY_PN} "Shovel Knight"
}
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }