summaryrefslogtreecommitdiff
path: root/games-action/trosh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /games-action/trosh
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'games-action/trosh')
-rw-r--r--games-action/trosh/Manifest2
-rw-r--r--games-action/trosh/trosh-20-r1.ebuild (renamed from games-action/trosh/trosh-20.ebuild)25
2 files changed, 12 insertions, 15 deletions
diff --git a/games-action/trosh/Manifest b/games-action/trosh/Manifest
index 532913ee0202..3fa4440520cf 100644
--- a/games-action/trosh/Manifest
+++ b/games-action/trosh/Manifest
@@ -1,4 +1,4 @@
DIST trosh-20.zip 5182303 BLAKE2B b22d0e5138c5d5ce3bbbe8e3fe8cdc732b9002d67ceccf636b93c6c48acc8a32898de978ccb752742a3be0e8e1bdee97507a469d87d30af8a493ad4104fc657c SHA512 2a8988f5715340850a61acde54403c968947d41d5f0a1ac098c4cc3959f69f150cee567933fd5148a2c23c237210c10dc58005de1bd949d6db59cd794a0003ec
DIST trosh.png 242 BLAKE2B 3f9a2fcd08669004f40f5ade1c4f119d18b1983b2d0ff73fb61fdd9764aa9903c5b053267507ec5cc3f4a8dd5d2246df6830b96fbfaa3f536fd7cad458f09436 SHA512 85ff46c8c75b018a59a8e7dace85fc5ccf2439babedb0e4d134301eb9f7edfe5d7f4f3af1329f04257c16d978f27df38f10cb3ffbc4b424808a5f3c5c78bfc69
-EBUILD trosh-20.ebuild 982 BLAKE2B 36fb2e7af395859dbf2319f9185eb735de958b63062f526ca78426123b491d232d72c83e575d5fc50deffe8e375cb696a4c666ea30926d39c4e4f0440c4d3074 SHA512 6b557bb5c33b28a20d0aa48870b09335c08670d0e7a2b9a762c04fe189033639156c27439e88929297d5f6de81f5db94ef3a5cf3d3d79722eed9eb0cf8d76ea2
+EBUILD trosh-20-r1.ebuild 894 BLAKE2B 8ab22d1c6d681307a9526359c1bc7dfed3fc5a8021682c805f578ac6d2d6f1ff2309f8c03ba75554adea7b96732c67b5f88f0e46dbf06def50c6d0b87e133f5b SHA512 40a2075d54ac3b6e334c8e8e4562637c3bfb3e3cef5b071dd691341ad56f818146c77877b0e0654e91fd66b4d49f6b06f4f71ca3e671ebf93c29bbbf1e8158f9
MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254
diff --git a/games-action/trosh/trosh-20.ebuild b/games-action/trosh/trosh-20-r1.ebuild
index 945b7883080a..5de7abfdbbc1 100644
--- a/games-action/trosh/trosh-20.ebuild
+++ b/games-action/trosh/trosh-20-r1.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils gnome2-utils games
+EAPI=6
+inherit eutils gnome2-utils
DESCRIPTION="A game made in 20 hours for a friend. It has explosions"
HOMEPAGE="http://stabyourself.net/trosh/"
@@ -14,34 +13,32 @@ LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND=">=games-engines/love-0.8.0
- media-libs/devil[png]"
+RDEPEND="
+ >=games-engines/love-0.8.0:0
+ media-libs/devil[png]
+"
DEPEND="app-arch/unzip"
-S=${WORKDIR}
+S="${WORKDIR}"
src_install() {
- local dir=${GAMES_DATADIR}/love/${PN}
+ local dir=/usr/share/love/${PN}
exeinto "${dir}"
doexe ${PN}.love
- dodoc {LICENSE,readme}.txt README
+ einstalldocs
doicon -s 32 "${DISTDIR}"/${PN}.png
- games_make_wrapper ${PN} "love ${PN}.love" "${dir}"
+ make_wrapper ${PN} "love ${PN}.love" "${dir}"
make_desktop_entry ${PN}
-
- prepgamesdirs
}
pkg_preinst() {
- games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
gnome2_icon_cache_update
}