commit:     65cb3a659540e478953b557246fb77216613ebe7
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 18:22:45 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:17:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65cb3a65

games-arcade/primateplunge: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 .../files/primateplunge-1.1-AC_SUBST.patch         |  4 +--
 .../primateplunge/primateplunge-1.1-r2.ebuild      | 32 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch 
b/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch
index b5c50dcc701..562f62f9858 100644
--- a/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch
+++ b/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch
@@ -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], [primateplu...@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
index 00000000000..a2cab33ca84
--- /dev/null
+++ b/games-arcade/primateplunge/primateplunge-1.1-r2.ebuild
@@ -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
+}

Reply via email to