commit:     e971602288cf597f4b75d3899c4166d54120ca5e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 19 15:08:35 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 15:51:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9716022

games-action/barrage: Minor touchups

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 games-action/barrage/barrage-1.0.4-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games-action/barrage/barrage-1.0.4-r1.ebuild 
b/games-action/barrage/barrage-1.0.4-r1.ebuild
index 16aeec97af8..fc4dde6e54e 100644
--- a/games-action/barrage/barrage-1.0.4-r1.ebuild
+++ b/games-action/barrage/barrage-1.0.4-r1.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 inherit eutils
 
 DESCRIPTION="A violent point-and-click shooting game"
@@ -13,13 +14,15 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=">=media-libs/libsdl-1.2[sound,video]
+DEPEND="
+       >=media-libs/libsdl-1.2[sound,video]
        >=media-libs/sdl-mixer-1.2.4"
 RDEPEND="${DEPEND}"
 
 src_install() {
        default
+
        newicon barrage48.png ${PN}.png
        make_desktop_entry ${PN} Barrage
-       rm "${D}"/usr/share/applications/${PN}.desktop
+       rm "${ED%/}"/usr/share/applications/${PN}.desktop || die
 }

Reply via email to