From a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 20:02:04 +0100 Subject: gentoo resync : 28.04.2018 --- games-action/Manifest.gz | Bin 14148 -> 14147 bytes games-action/trosh/Manifest | 2 +- games-action/trosh/trosh-20-r1.ebuild | 47 ++++++++++++++++++++++++++++++++ games-action/trosh/trosh-20.ebuild | 50 ---------------------------------- 4 files changed, 48 insertions(+), 51 deletions(-) create mode 100644 games-action/trosh/trosh-20-r1.ebuild delete mode 100644 games-action/trosh/trosh-20.ebuild (limited to 'games-action') diff --git a/games-action/Manifest.gz b/games-action/Manifest.gz index ca73132e9577..bb922160e48c 100644 Binary files a/games-action/Manifest.gz and b/games-action/Manifest.gz differ 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-r1.ebuild b/games-action/trosh/trosh-20-r1.ebuild new file mode 100644 index 000000000000..5de7abfdbbc1 --- /dev/null +++ b/games-action/trosh/trosh-20-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnome2-utils + +DESCRIPTION="A game made in 20 hours for a friend. It has explosions" +HOMEPAGE="http://stabyourself.net/trosh/" +SRC_URI="http://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${P}.zip + https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=games-engines/love-0.8.0:0 + media-libs/devil[png] +" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_install() { + local dir=/usr/share/love/${PN} + + exeinto "${dir}" + doexe ${PN}.love + + einstalldocs + + doicon -s 32 "${DISTDIR}"/${PN}.png + make_wrapper ${PN} "love ${PN}.love" "${dir}" + make_desktop_entry ${PN} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-action/trosh/trosh-20.ebuild b/games-action/trosh/trosh-20.ebuild deleted file mode 100644 index 945b7883080a..000000000000 --- a/games-action/trosh/trosh-20.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils gnome2-utils games - -DESCRIPTION="A game made in 20 hours for a friend. It has explosions" -HOMEPAGE="http://stabyourself.net/trosh/" -SRC_URI="http://stabyourself.net/dl.php?file=trosh/trosh-linux.zip -> ${P}.zip - https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" - -LICENSE="WTFPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=games-engines/love-0.8.0 - media-libs/devil[png]" -DEPEND="app-arch/unzip" - -S=${WORKDIR} - -src_install() { - local dir=${GAMES_DATADIR}/love/${PN} - - exeinto "${dir}" - doexe ${PN}.love - - dodoc {LICENSE,readme}.txt README - - doicon -s 32 "${DISTDIR}"/${PN}.png - games_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 -} - -pkg_postrm() { - gnome2_icon_cache_update -} -- cgit v1.2.3