games-arcade/primateplunge: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Mon, 23 Apr 2018 18:22:45 +0000 (20:22 +0200)
committerPacho Ramos <pacho@gentoo.org>
Mon, 23 Apr 2018 19:17:06 +0000 (21:17 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch
games-arcade/primateplunge/primateplunge-1.1-r2.ebuild [new file with mode: 0644]

index b5c50dcc701bc1cdfb79c95b90cf1747c094d9d3..562f62f985857d5558a785a4906475fe1c1b20f8 100644 (file)
@@ -1,5 +1,5 @@
---- configure.ac.orig
-+++ configure.ac
+--- a/configure.ac.orig
++++ b/configure.ac
 @@ -7,12 +7,12 @@
  
  AC_INIT([primateplunge], [1.1], [primateplunge@aelius.com])
diff --git a/games-arcade/primateplunge/primateplunge-1.1-r2.ebuild b/games-arcade/primateplunge/primateplunge-1.1-r2.ebuild
new file mode 100644 (file)
index 0000000..a2cab33
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools desktop
+
+DESCRIPTION="Help poor Monkey navigate his way down through treacherous areas"
+HOMEPAGE="https://www.aelius.com/primateplunge/"
+SRC_URI="https://www.aelius.com/${PN}/${P}.tar.gz"
+
+LICENSE="Primate-Plunge"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+RESTRICT="mirror bindist" #465850
+
+DEPEND="media-libs/libsdl[sound,video]
+       media-libs/sdl-mixer"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       eapply "${FILESDIR}"/${P}-AC_SUBST.patch
+       eautoreconf
+}
+
+src_install() {
+       default
+       dodoc TIPS
+       newicon graphics/idle.bmp ${PN}.bmp
+       make_desktop_entry ${PN} "Primate Plunge" /usr/share/pixmaps/${PN}.bmp
+}