summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action')
-rw-r--r--games-action/lugaru-demo/ChangeLog8
-rw-r--r--games-action/lugaru-demo/lugaru-demo-1.0c.ebuild11
2 files changed, 13 insertions, 6 deletions
diff --git a/games-action/lugaru-demo/ChangeLog b/games-action/lugaru-demo/ChangeLog
index 255154f06a3f..566f86745828 100644
--- a/games-action/lugaru-demo/ChangeLog
+++ b/games-action/lugaru-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/lugaru-demo
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/ChangeLog,v 1.11 2010/05/21 01:51:23 vapier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/ChangeLog,v 1.12 2012/12/16 10:30:11 tupone Exp $
+
+ 16 Dec 2012; Tupone Alfredo <tupone@gentoo.org> lugaru-demo-1.0c.ebuild:
+ Use QA_PREBUILT. Bug #426794 by Diego Elio Pettenò
+ EAPI 4
*lugaru-demo-1.0c (21 May 2010)
diff --git a/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild b/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild
index ba396bc0b063..69ec65bbb323 100644
--- a/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild
+++ b/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild
@@ -1,6 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild,v 1.1 2010/05/21 01:51:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0c.ebuild,v 1.2 2012/12/16 10:30:11 tupone Exp $
+EAPI=4
inherit eutils games
@@ -22,6 +23,8 @@ RDEPEND="sys-libs/glibc
x11-libs/libXext
)"
+QA_PREBUILT="${GAMES_PREFIX_OPT:1}"/${PN}/lugaru
+
S=${WORKDIR}/data
src_unpack() {
@@ -37,12 +40,12 @@ src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
insinto "${dir}"
- doins -r Data || die "doins failed"
+ doins -r Data
dodoc *.txt
exeinto "${dir}"
- doexe lugaru || die "doexe failed"
+ doexe lugaru
games_make_wrapper ${PN} ./lugaru "${dir}" "${dir}"
newicon lugaru.png ${PN}.png