summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r--games-arcade/whichwayisup/ChangeLog9
-rw-r--r--games-arcade/whichwayisup/Manifest7
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-32.pngbin0 -> 782 bytes
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-48.pngbin0 -> 1368 bytes
-rw-r--r--games-arcade/whichwayisup/files/whichwayisup-64.pngbin0 -> 1985 bytes
-rw-r--r--games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild57
6 files changed, 73 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/ChangeLog b/games-arcade/whichwayisup/ChangeLog
new file mode 100644
index 000000000..01d655acc
--- /dev/null
+++ b/games-arcade/whichwayisup/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-arcade/whichwayisup
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 30 May 2007; Santiago M. Mola <gentoo@coldwind.org>
+ +whichwayisup-0.7.0.ebuild, +files/whichwayisup-32.png,
+ +files/whichwayisup-48.png, +files/whichwayisup-64.png:
+ Initial ebuild by Denilson <denilsonsa at gmail.com> on bug #180187
+
diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest
new file mode 100644
index 000000000..0fe983c70
--- /dev/null
+++ b/games-arcade/whichwayisup/Manifest
@@ -0,0 +1,7 @@
+AUX whichwayisup-0.7.0-gentoo.patch 748 RMD160 8c9a1d9e60ff05e473e3730f0651fea9b10e3932 SHA1 abd31a0f6130f7d672c4fcfa8de1172b1753c9a6 SHA256 567603f24815cc7dad5c4dd93259dcc7829b398acefb8449cce7ea01fb3e6ba8
+AUX whichwayisup-32.png 782 RMD160 572389bc6f6e4d53b57714ff2b2a8bb96960a86d SHA1 f11ce1448782b7ec59a3cddeaa8eff157dab3e8a SHA256 dfa9c7db8d021831d40230d884f8b00c40675664cabee7825b969815c311110b
+AUX whichwayisup-48.png 1368 RMD160 61f53a6d9e510e4100eaaac5ea7b55eae63ce56b SHA1 75890f0b86810ce8ebd02cdb4667573483469d75 SHA256 3c87ce65840678a5d684eddaa966d69ba04a7b893ffa0f384d5b5ffe011164c8
+AUX whichwayisup-64.png 1985 RMD160 9324ef32087118ee2c2b00d5eb2cbbe0bdbe3b2e SHA1 4fa7a64ea38126e3a224a4bea1d15782377ac405 SHA256 8616967d4def46ec370df610375b72aa2c6b8b4c615f02f147fd37e4ab8f367a
+AUX whichwayisup-icons.tar.gz 4322 RMD160 2a203d483fa1864a6cdff83aa72e60a473ebba32 SHA1 9b03ab0b02f7d90f911de7d079d5150f2ebcfa71 SHA256 32c5393f06957490c2b77ee12510b2ab96ceacfcf328355f95c58721ed63cbe1
+DIST whichwayisup_b070.zip 743307 RMD160 6b72edc8df5aa7beaf701c8a3792ebd409adb305 SHA1 e018daf4f37e4498939582915df8ae421978ee63 SHA256 a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab
+EBUILD whichwayisup-0.7.0.ebuild 1440 RMD160 a0c99d06e768107f29683710a2d681c4904cb02b SHA1 9cdea821b0442e84877984b102cc9178588dbe06 SHA256 40ae975c2494b039906154d963e0384ad2ca91dc59254ac30cd545519bd4e96e
diff --git a/games-arcade/whichwayisup/files/whichwayisup-32.png b/games-arcade/whichwayisup/files/whichwayisup-32.png
new file mode 100644
index 000000000..f05a15c12
--- /dev/null
+++ b/games-arcade/whichwayisup/files/whichwayisup-32.png
Binary files differ
diff --git a/games-arcade/whichwayisup/files/whichwayisup-48.png b/games-arcade/whichwayisup/files/whichwayisup-48.png
new file mode 100644
index 000000000..e5990fbfc
--- /dev/null
+++ b/games-arcade/whichwayisup/files/whichwayisup-48.png
Binary files differ
diff --git a/games-arcade/whichwayisup/files/whichwayisup-64.png b/games-arcade/whichwayisup/files/whichwayisup-64.png
new file mode 100644
index 000000000..c0213bebd
--- /dev/null
+++ b/games-arcade/whichwayisup/files/whichwayisup-64.png
Binary files differ
diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild
new file mode 100644
index 000000000..4d790d8aa
--- /dev/null
+++ b/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NEED_PYTHON="2.4"
+
+inherit games python
+
+MY_PV=${PV//./}
+MY_P=${PN}_b${MY_PV}
+DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist"
+HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/"
+SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=dev-python/pygame-1.6"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s:libdir\ =\ .*:libdir\ =\ \"$(games_get_libdir)/${PN}\":" \
+ run_game.py || die "Changing library path failed"
+ sed -i -e "s:data_dir\ =\ .*:data_dir\ =\ \"${GAMES_DATADIR}/${PN}\":" \
+ lib/data.py || die "Changing data path failed"
+}
+
+src_install() {
+ newgamesbin run_game.py ${PN} || die "newgamesbin failed"
+
+ insinto "$(games_get_libdir)/${PN}"
+ doins lib/*.py || die "doins lib failed"
+
+ dodoc README.txt changelog.txt
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r data/* || die "doins data failed"
+
+ doicon "${FILESDIR}/${PN}"-{32,48,64}.png
+ make_desktop_entry ${PN} "Which Way Is Up" "${PN}"-64.png
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ python_mod_optimize "$(games_get_libdir)/${PN}"
+ games_pkg_postinst
+}
+
+pkg_postrm() {
+ python_mod_cleanup "$(games_get_libdir)/${PN}"
+}