summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-04-18 07:36:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-04-18 07:36:35 +0000
commit47a9ceff2b00b11c0931614311bc7f56692524d3 (patch)
tree43ad6c46277abf2640b5717de863dc0ec99b6298 /games-arcade/watermelons
parentStable on x86; bug #120165 (diff)
downloadgentoo-2-47a9ceff2b00b11c0931614311bc7f56692524d3.tar.gz
gentoo-2-47a9ceff2b00b11c0931614311bc7f56692524d3.tar.bz2
gentoo-2-47a9ceff2b00b11c0931614311bc7f56692524d3.zip
initial commit - ebuild submitted by Cristiano Chiucchiolo via bug #130192
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-arcade/watermelons')
-rw-r--r--games-arcade/watermelons/ChangeLog10
-rw-r--r--games-arcade/watermelons/Manifest6
-rw-r--r--games-arcade/watermelons/files/digest-watermelons-1.1.13
-rw-r--r--games-arcade/watermelons/metadata.xml5
-rw-r--r--games-arcade/watermelons/watermelons-1.1.1.ebuild51
5 files changed, 75 insertions, 0 deletions
diff --git a/games-arcade/watermelons/ChangeLog b/games-arcade/watermelons/ChangeLog
new file mode 100644
index 000000000000..c416879243aa
--- /dev/null
+++ b/games-arcade/watermelons/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-arcade/watermelons
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/watermelons/ChangeLog,v 1.1 2006/04/18 07:36:35 mr_bones_ Exp $
+
+*watermelons-1.1.1 (18 Apr 2006)
+
+ 18 Apr 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +watermelons-1.1.1.ebuild:
+ initial commit - ebuild submitted by Cristiano Chiucchiolo via bug #130192
+
diff --git a/games-arcade/watermelons/Manifest b/games-arcade/watermelons/Manifest
new file mode 100644
index 000000000000..8c20b775e918
--- /dev/null
+++ b/games-arcade/watermelons/Manifest
@@ -0,0 +1,6 @@
+MD5 2d8ecbdafc169a345bec97c578e87d0e files/digest-watermelons-1.1.1 229
+RMD160 24682a38ef1d5209a46f062a7987ff6a52f8d4e1 files/digest-watermelons-1.1.1 229
+SHA256 15593d86ea82065f6ca96a4c453b22ca7fdccb5c37a385f44335ae5ea1852f4c files/digest-watermelons-1.1.1 229
+MD5 f59230b993d42b0137e7758390d4b3e9 watermelons-1.1.1.ebuild 1208
+RMD160 01c45253a68b9a3f2bfcd245b09c9597665eba40 watermelons-1.1.1.ebuild 1208
+SHA256 2c4c8284ee9fb264c76d4da4cf0f3ff559cc45382cecc95cd065961ee7e2dd22 watermelons-1.1.1.ebuild 1208
diff --git a/games-arcade/watermelons/files/digest-watermelons-1.1.1 b/games-arcade/watermelons/files/digest-watermelons-1.1.1
new file mode 100644
index 000000000000..772de24b6e97
--- /dev/null
+++ b/games-arcade/watermelons/files/digest-watermelons-1.1.1
@@ -0,0 +1,3 @@
+MD5 aab2dad48d406063e35ab70c3b7109ac melons-1.1.1.tgz 318692
+RMD160 76320b68b8f5ebaf3e20721b4df734568c57a020 melons-1.1.1.tgz 318692
+SHA256 7433004460bf97a055d7c4c28fc274eeda920f30d5441e76020a7b8db223a336 melons-1.1.1.tgz 318692
diff --git a/games-arcade/watermelons/metadata.xml b/games-arcade/watermelons/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-arcade/watermelons/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-arcade/watermelons/watermelons-1.1.1.ebuild b/games-arcade/watermelons/watermelons-1.1.1.ebuild
new file mode 100644
index 000000000000..8f481c030a3b
--- /dev/null
+++ b/games-arcade/watermelons/watermelons-1.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/watermelons/watermelons-1.1.1.ebuild,v 1.1 2006/04/18 07:36:35 mr_bones_ Exp $
+
+inherit eutils games
+
+MY_PN="melons"
+DESCRIPTION="A thrilling watermelon bouncing game."
+HOMEPAGE="http://www.imitationpickles.org/melons/index.html"
+SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tgz"
+# No version upstream
+#SRC_URI="http://www.imitationpickles.org/${MY_PN}/${MY_PN}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.4"
+
+S=${WORKDIR}/${MY_PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s:melons.hs:${GAMES_STATEDIR}/${PN}/&:" \
+ main.py \
+ || die "sed failed"
+
+ cat <<-EOF > "${PN}"
+ #!/bin/bash
+ cd "${GAMES_DATADIR}/${PN}"
+ exec python main.py
+EOF
+}
+
+src_install() {
+ dogamesbin ${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data pgu const.py game.py main.py melon.py melons.py menu.py trampoline.py \
+ || die "doins failed"
+ dodoc *.txt
+ dodir "${GAMES_STATEDIR}/${PN}"
+ touch "${D}${GAMES_STATEDIR}"/${PN}/melons.hs
+ fperms 664 "${GAMES_STATEDIR}"/${PN}/melons.hs
+ newicon data/mellon0013.png "${PN}.png" || die "newicon failed"
+ make_desktop_entry ${PN} Watermelons
+ prepgamesdirs
+}