summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 00:15:49 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-15 00:15:49 +0000
commit80131c33101349ee5e8e8d0c7dbdcd97242e1093 (patch)
treee02cd17e8361b93821c066f65a66fa2de7d97678 /games-puzzle/world-of-goo-demo
parentInitial ebuild #258960 by Vladimir Berezhnoy. (diff)
downloadgentoo-2-80131c33101349ee5e8e8d0c7dbdcd97242e1093.tar.gz
gentoo-2-80131c33101349ee5e8e8d0c7dbdcd97242e1093.tar.bz2
gentoo-2-80131c33101349ee5e8e8d0c7dbdcd97242e1093.zip
unify the demo and non-demo ebuilds
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'games-puzzle/world-of-goo-demo')
-rw-r--r--games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild
index 6baaded46ba1..b1c1a15f58d8 100644
--- a/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild
+++ b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild
@@ -1,13 +1,19 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild,v 1.1 2009/02/15 00:00:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild,v 1.2 2009/02/15 00:15:49 vapier Exp $
inherit games
-MY_PN="WorldOfGooDemo"
DESCRIPTION="World of Goo is a puzzle game with a strong emphasis on physics"
HOMEPAGE="http://2dboy.com/"
-SRC_URI="${MY_PN}.${PV}.tar.gz"
+
+if [[ ${PN} == *-demo ]] ; then
+ MY_PN="WorldOfGooDemo"
+ SRC_URI="${MY_PN}.${PV}.tar.gz"
+else
+ MY_PN="WorldOfGoo"
+ SRC_URI="${MY_PN}Setup.${PV}.tar.gz"
+fi
LICENSE="2dboy-EULA"
SLOT="0"
@@ -28,7 +34,7 @@ DEPEND=""
S=${WORKDIR}/${MY_PN}
-QA_EXECSTACK="opt/WorldOfGooDemo/WorldOfGoo.bin"
+QA_EXECSTACK="opt/${MY_PN}/WorldOfGoo.bin"
pkg_nofetch() {
elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo"