diff options
Diffstat (limited to 'games-arcade/jardinains/jardinains-2.0.ebuild')
-rw-r--r-- | games-arcade/jardinains/jardinains-2.0.ebuild | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/games-arcade/jardinains/jardinains-2.0.ebuild b/games-arcade/jardinains/jardinains-2.0.ebuild index 3746b29193e1..34dc8630bcaf 100644 --- a/games-arcade/jardinains/jardinains-2.0.ebuild +++ b/games-arcade/jardinains/jardinains-2.0.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/jardinains/jardinains-2.0.ebuild,v 1.6 2008/02/26 22:29:09 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/jardinains/jardinains-2.0.ebuild,v 1.7 2009/10/29 07:13:01 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Arkanoid with Gnomes" @@ -13,35 +14,37 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RESTRICT="strip" +QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/jardinains/jardinains" DEPEND="" RDEPEND="virtual/opengl + virtual/glu + virtual/libstdc++ amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0-r1 )" -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} +PATCHES=( "${FILESDIR}"/strings-pt.patch ) src_unpack() { unpack JN2_1_FREE_LIN.tar.gz cd "${WORKDIR}" mv "Jardinains 2!" ${P} - cd "${S}" - epatch "${FILESDIR}"/strings-pt.patch } src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + exeinto "${dir}" doexe jardinains insinto "${dir}" - cp -r LICENSE.txt data help "${Ddir}" || die "cp failed" + doins -r LICENSE.txt data help || die "doins failed" games_make_wrapper jardinains ./jardinains "${dir}" "${dir}" make_desktop_entry jardinains "Jardinains 2" - touch "${Ddir}/data/prefs.xml" + touch "${D}${dir}/data/prefs.xml" prepgamesdirs - chmod g+rw "${Ddir}/data/prefs.xml" - chmod -R g+rw "${Ddir}/data/players" + chmod g+rw "${D}${dir}/data/prefs.xml" + chmod -R g+rw "${D}${dir}/data/players" } pkg_postinst() { |