commit: 342c2d35d3b223c71c04b1af57e4d3eaedea203b
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 05:42:39 2015 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 05:44:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342c2d35
use epatch to apply patch
Package-Manager: portage-2.2.20.1
games-arcade/asteroid/asteroid-1.1.ebuild | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/games-arcade/asteroid/asteroid-1.1.ebuild
b/games-arcade/asteroid/asteroid-1.1.ebuild
index 5e95199..2ffbe94 100644
--- a/games-arcade/asteroid/asteroid-1.1.ebuild
+++ b/games-arcade/asteroid/asteroid-1.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=4
+EAPI=5
inherit eutils games
DESCRIPTION="A modern version of the arcade classic that uses OpenGL"
@@ -19,12 +19,14 @@ DEPEND="virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-mixer"
-RDEPEND="${DEPEND}"
+RDEPEND=${DEPEND}
-PATCHES=( "${FILESDIR}"/${P}-include.patch )
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-include.patch
+}
src_install() {
- emake DESTDIR="${D}" install
- dodoc asteroid-{authors,changes,readme}.txt
+ DOCS="$(echo asteroid-{authors,changes,readme}.txt)" \
+ default
prepgamesdirs
}