games-arcade/penguin-command: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Mon, 23 Apr 2018 18:08:58 +0000 (20:08 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 23 Apr 2018 19:16:57 +0000 (21:16 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild b/games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild
new file mode 100644 (file)
index 0000000..c442fae
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="A clone of the classic Missile Command game"
+HOMEPAGE="http://www.linux-games.com/penguin-command/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[sound,joystick,video]
+       media-libs/sdl-mixer[mod]
+       media-libs/sdl-image[jpeg,png]"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       default
+       newicon data/gfx/icon.xpm ${PN}.xpm
+       make_desktop_entry ${PN} "Penguin Command" ${PN}
+}