From 01f0526b58ab015863b8f3db5306a284759a86ba Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Mon, 26 Oct 2009 18:24:15 +0000 Subject: EAPI=2; tidy (Portage version: 2.1.6.13/cvs/Linux i686) --- games-strategy/dominions2-demo/ChangeLog | 8 ++++++-- .../dominions2-demo/dominions2-demo-2.08.ebuild | 23 ++++++++++------------ 2 files changed, 16 insertions(+), 15 deletions(-) (limited to 'games-strategy') diff --git a/games-strategy/dominions2-demo/ChangeLog b/games-strategy/dominions2-demo/ChangeLog index 0ff3149e6663..08dcb6459ed9 100644 --- a/games-strategy/dominions2-demo/ChangeLog +++ b/games-strategy/dominions2-demo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/dominions2-demo -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/ChangeLog,v 1.4 2007/02/22 00:01:10 peper Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/ChangeLog,v 1.5 2009/10/26 18:24:15 mr_bones_ Exp $ + + 26 Oct 2009; Michael Sterrett + dominions2-demo-2.08.ebuild: + EAPI=2; tidy 22 Feb 2007; Piotr JaroszyƄski ChangeLog: Transition to Manifest2. diff --git a/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild b/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild index f00304f64497..44329d6d497b 100644 --- a/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild +++ b/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild,v 1.2 2006/12/06 20:33:26 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/dominions2-demo/dominions2-demo-2.08.ebuild,v 1.3 2009/10/26 18:24:15 mr_bones_ Exp $ +EAPI=2 inherit games DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game" @@ -11,28 +12,24 @@ SRC_URI="http://www.shrapnelgames.com/downloads/dom2demo_linux_x86.tgz" LICENSE="as-is" SLOT="0" KEYWORDS="x86" -IUSE="arts esd" +IUSE="" RESTRICT="strip" DEPEND="x11-libs/libXext virtual/opengl - virtual/glu - esd? ( media-sound/esound ) - arts? ( kde-base/arts )" + virtual/glu" -S="${WORKDIR}/dominions2demo" -dir="${GAMES_PREFIX_OPT}/${PN}" -Ddir="${D}/${dir}" +S=${WORKDIR}/dominions2demo -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { chmod a+x ./dom2demo } src_install() { + local dir="${GAMES_PREFIX_OPT}/${PN}" + dodir "${dir}" - cp -r "${S}/"* "${Ddir}" || die "cp failed" + cp -r "${S}/"* "${D}${dir}" || die "cp failed" games_make_wrapper dominions2-demo ./dom2demo "${dir}" "${dir}" prepgamesdirs } -- cgit v1.2.3-65-gdbad