games-action/barrage: remove deprecated games eclass
authorAustin English <wizardedit@gentoo.org>
Tue, 5 Jul 2016 19:47:05 +0000 (14:47 -0500)
committerAustin English <wizardedit@gentoo.org>
Tue, 5 Jul 2016 19:48:13 +0000 (14:48 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28

games-action/barrage/barrage-1.0.4-r1.ebuild [new file with mode: 0644]

diff --git a/games-action/barrage/barrage-1.0.4-r1.ebuild b/games-action/barrage/barrage-1.0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..9790b9f
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A violent point-and-click shooting game"
+HOMEPAGE="http://lgames.sourceforge.net"
+SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+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
+}