diff options
author | 2009-02-15 00:15:49 +0000 | |
---|---|---|
committer | 2009-02-15 00:15:49 +0000 | |
commit | 1af5c3b44265c8e3c500202e1e4621538577b312 (patch) | |
tree | d4ac63ab9e6e697f75e7be6351a4197734e91cc5 /games-puzzle | |
parent | Initial ebuild #258960 by Vladimir Berezhnoy. (diff) | |
download | historical-1af5c3b44265c8e3c500202e1e4621538577b312.tar.gz historical-1af5c3b44265c8e3c500202e1e4621538577b312.tar.bz2 historical-1af5c3b44265c8e3c500202e1e4621538577b312.zip |
unify the demo and non-demo ebuilds
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/world-of-goo-demo/world-of-goo-demo-1.40.ebuild | 14 |
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" |