summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2015-01-05 11:24:59 +0000
committerAlfredo Tupone <tupone@gentoo.org>2015-01-05 11:24:59 +0000
commit695d0e85263d79d667c24d92b302489d59642670 (patch)
tree16d151cd7c9fd400bf16004f25fcbd4601b574fe /games-arcade/lbreakout/lbreakout-010315.ebuild
parentVersion bump by Ferenc Erki closes bug #525582. Mitigation and bump for cross... (diff)
downloadhistorical-695d0e85263d79d667c24d92b302489d59642670.tar.gz
historical-695d0e85263d79d667c24d92b302489d59642670.tar.bz2
historical-695d0e85263d79d667c24d92b302489d59642670.zip
EAPI 5
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x0145142D
Diffstat (limited to 'games-arcade/lbreakout/lbreakout-010315.ebuild')
-rw-r--r--games-arcade/lbreakout/lbreakout-010315.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/games-arcade/lbreakout/lbreakout-010315.ebuild b/games-arcade/lbreakout/lbreakout-010315.ebuild
index 95b3ea14e06d..feae7127761c 100644
--- a/games-arcade/lbreakout/lbreakout-010315.ebuild
+++ b/games-arcade/lbreakout/lbreakout-010315.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/lbreakout-010315.ebuild,v 1.9 2010/01/30 14:00:55 armin76 Exp $
-
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/lbreakout/lbreakout-010315.ebuild,v 1.10 2015/01/05 11:24:54 tupone Exp $
+EAPI=5
inherit games
DESCRIPTION="Breakout clone written with the SDL library"
@@ -14,10 +14,9 @@ KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.5"
+RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i \
-e '/^sdir=/s:$datadir/games:$datadir:' \
-e '/^hdir=/s:/var/lib/games:$localstatedir:' \
@@ -27,8 +26,7 @@ src_unpack() {
src_install() {
dodir "${GAMES_STATEDIR}"
- emake DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS README ChangeLog
+ default
dohtml lbreakout/manual/*
prepgamesdirs
}