diff options
author | Santiago M. Mola <coldwind@gentoo.org> | 2007-08-13 18:52:08 +0000 |
---|---|---|
committer | Santiago M. Mola <coldwind@gentoo.org> | 2007-08-13 18:52:08 +0000 |
commit | 479dbb5434d9c9d7f8ad830274b3713682efbcd6 (patch) | |
tree | bd5d38c7a138529becbe47c10f0a6e94c014bd8c /games-arcade/whichwayisup | |
parent | amd64 stable (diff) | |
download | historical-479dbb5434d9c9d7f8ad830274b3713682efbcd6.tar.gz historical-479dbb5434d9c9d7f8ad830274b3713682efbcd6.tar.bz2 historical-479dbb5434d9c9d7f8ad830274b3713682efbcd6.zip |
Initial ebuild. Thanks to Denilson.
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'games-arcade/whichwayisup')
-rw-r--r-- | games-arcade/whichwayisup/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/whichwayisup/Manifest | 20 | ||||
-rw-r--r-- | games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0 | 3 | ||||
-rw-r--r-- | games-arcade/whichwayisup/files/whichwayisup-32.xpm | 67 | ||||
-rw-r--r-- | games-arcade/whichwayisup/metadata.xml | 12 | ||||
-rw-r--r-- | games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild | 57 |
6 files changed, 169 insertions, 0 deletions
diff --git a/games-arcade/whichwayisup/ChangeLog b/games-arcade/whichwayisup/ChangeLog new file mode 100644 index 000000000000..7f426587d004 --- /dev/null +++ b/games-arcade/whichwayisup/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-arcade/whichwayisup +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/ChangeLog,v 1.1 2007/08/13 18:52:07 coldwind Exp $ + +*whichwayisup-0.7.0 (13 Aug 2007) + + 13 Aug 2007; Santiago M. Mola <coldwind@gentoo.org> + +files/whichwayisup-32.xpm, +metadata.xml, +whichwayisup-0.7.0.ebuild: + Initial ebuild. Thanks to Denilson. + diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest new file mode 100644 index 000000000000..a6ed7b911624 --- /dev/null +++ b/games-arcade/whichwayisup/Manifest @@ -0,0 +1,20 @@ +AUX whichwayisup-32.xpm 1694 RMD160 e026cf914945232efe0f12ff69650a87da05d72e SHA1 b07502c1e16b0431be6e973ecb676232e38f4d66 SHA256 594a81af3ba37986f3afb3f7ba65d83e894539312fb9ba5c98d6f79ee66c16d4 +MD5 e5f2614ccf9f233acb538c6bef551817 files/whichwayisup-32.xpm 1694 +RMD160 e026cf914945232efe0f12ff69650a87da05d72e files/whichwayisup-32.xpm 1694 +SHA256 594a81af3ba37986f3afb3f7ba65d83e894539312fb9ba5c98d6f79ee66c16d4 files/whichwayisup-32.xpm 1694 +DIST whichwayisup_b070.zip 743307 RMD160 6b72edc8df5aa7beaf701c8a3792ebd409adb305 SHA1 e018daf4f37e4498939582915df8ae421978ee63 SHA256 a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab +EBUILD whichwayisup-0.7.0.ebuild 1489 RMD160 f80ca116adf6249ee92282444913d34d1c264c6e SHA1 ea55801778721d54cc9bb805923ff4742b4cbab0 SHA256 7729dda3c5b3c297df803126d10b3b8a988011b7f07e4d8851245e8d3809f2b0 +MD5 52b5fbd24e575352deca17c3218b7894 whichwayisup-0.7.0.ebuild 1489 +RMD160 f80ca116adf6249ee92282444913d34d1c264c6e whichwayisup-0.7.0.ebuild 1489 +SHA256 7729dda3c5b3c297df803126d10b3b8a988011b7f07e4d8851245e8d3809f2b0 whichwayisup-0.7.0.ebuild 1489 +MISC ChangeLog 426 RMD160 df24fb8a992022b37da85b8f436cfa1118508f84 SHA1 4688e85513799448274ef3d4c93184c9177181fb SHA256 0e26d5fa48f925d5cc21d7500cdf0bc702c6d78c7f6ee59490f689efe86b490c +MD5 17402023c50bf71a4a4f47b7d84bf342 ChangeLog 426 +RMD160 df24fb8a992022b37da85b8f436cfa1118508f84 ChangeLog 426 +SHA256 0e26d5fa48f925d5cc21d7500cdf0bc702c6d78c7f6ee59490f689efe86b490c ChangeLog 426 +MISC metadata.xml 486 RMD160 b45613bfa0d7e97da18f1ed02f88340358deb677 SHA1 daaa9cbcf8c965875aca76487ddf76e54c095ba1 SHA256 41a932450b3928feebb6bad145ab3c110fe8ce2edd38a4bd6ee69beb38e35f86 +MD5 918bb4c8522eba1ff4a1579ca8196c26 metadata.xml 486 +RMD160 b45613bfa0d7e97da18f1ed02f88340358deb677 metadata.xml 486 +SHA256 41a932450b3928feebb6bad145ab3c110fe8ce2edd38a4bd6ee69beb38e35f86 metadata.xml 486 +MD5 f8e0ac7bfb7af36f38d8d93736315177 files/digest-whichwayisup-0.7.0 244 +RMD160 505fe85f6938bd115354d19994e3e8d9079f82dc files/digest-whichwayisup-0.7.0 244 +SHA256 121e4204344f0bc2a29a4be8836f1fcf596676a3298e9a6a7349d6e07744d13f files/digest-whichwayisup-0.7.0 244 diff --git a/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0 b/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0 new file mode 100644 index 000000000000..1046a67a9ec7 --- /dev/null +++ b/games-arcade/whichwayisup/files/digest-whichwayisup-0.7.0 @@ -0,0 +1,3 @@ +MD5 9de95ed296856f86375b6aa4120c854e whichwayisup_b070.zip 743307 +RMD160 6b72edc8df5aa7beaf701c8a3792ebd409adb305 whichwayisup_b070.zip 743307 +SHA256 a84553081db91400debfff50079cadea1281af5cb18ca6148a355e5abbe69aab whichwayisup_b070.zip 743307 diff --git a/games-arcade/whichwayisup/files/whichwayisup-32.xpm b/games-arcade/whichwayisup/files/whichwayisup-32.xpm new file mode 100644 index 000000000000..f5a6ff33c0dc --- /dev/null +++ b/games-arcade/whichwayisup/files/whichwayisup-32.xpm @@ -0,0 +1,67 @@ +/* XPM */ +static char * whichwayisup_32_xpm[] = { +"32 32 32 1", +" c None", +". c #03151B", +"+ c #016C87", +"@ c #225361", +"# c #363636", +"$ c #387D9A", +"% c #0A2B35", +"& c #4E4F50", +"* c #ECEBEB", +"= c #9D866F", +"- c #E3D9D3", +"; c #A8947C", +"> c #CDCDCD", +", c #C5BDA7", +"' c #B2A38C", +") c #D0C9B4", +"! c #AEACAB", +"~ c #FDFDFD", +"{ c #020202", +"] c #856B5D", +"^ c #262524", +"/ c #6E6E6E", +"( c #888987", +"_ c #121111", +": c #9E9D9D", +"< c #4F6871", +"[ c #BCBDBD", +"} c #023B4A", +"| c #6E4C3B", +"1 c #7D5945", +"2 c #4F2C21", +"3 c #401D14", +" .+@@# ", +" ++++$ ", +" #%&@&@@@. ", +" *=-;>,'- ", +" )*=!~ ", +" {{#]]]#{{ ", +" {{^^%+@/(%_/#_ ", +" {{&:*>@+<&<<%[~[&{ ", +" _#:~~~~<+@/@&&(-~~/_ ", +" _#>~~[<^{}%%@{_&{<>~:{ ", +" _#-~>&{{ }}.+{ {^:~({ ", +" ^>~>_^(;>,:((((--,) {(~& ", +" {(~*#{ ,),))))))),,; _>[{ ", +" #^*~({ ;',,,,,),,,=| {&*# ", +" _/~~&{ ;;',)),)),=1] ^*/{ ", +" _(~*^_ =;;'),,))=|11 {>[_ ", +" _!~*_{ ====',,,=|1|2 {:-^ ", +" _:~*^{ ;;;';')=|]1## {:*^ ", +" {(~*^{ ;=;=;=]||12&2 {:~^ ", +" _&~~&{ ==;==|321^:/^ {[~^ ", +" _>~/{ =';;13222&~#3 {#~>_ ", +" {/~!{ =;=|3333_[~^# {:~(^ ", +" ^_>~^{ ''|3222_#~*^| {#~*^ ", +" {#~:{&'123232{/~*^^{_>~/{ ", +" {&*&^|323333{(~*&{#>~:{ ", +" {&!# {(~~[!*~:{{ ", +" {^#_ {/~*~~~:{{ ", +" __{{ {#~~~~~:^{ ", +" _>~~~~~-/_{ ", +" {#([*~~~~[&_{ ", +" {{^&(:[**!&{ ", +" {{_^&&#{"}; diff --git a/games-arcade/whichwayisup/metadata.xml b/games-arcade/whichwayisup/metadata.xml new file mode 100644 index 000000000000..89b369b6615f --- /dev/null +++ b/games-arcade/whichwayisup/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<maintainer> + <email>coldwind@gentoo.org</email> + <name>Santiago M. Mola</name> +</maintainer> + <longdescription>A traditional and challenging 2D platformer game with a + slight rotational twist. Help a mysterious big-eared salaryman named Guy + find his keys in a labyrinth of dangers and bad dialogue.</longdescription> +</pkgmetadata> 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 000000000000..6e36bfaca64e --- /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: /var/cvsroot/gentoo-x86/games-arcade/whichwayisup/whichwayisup-0.7.0.ebuild,v 1.1 2007/08/13 18:52:07 coldwind Exp $ + +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="~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.xpm + make_desktop_entry ${PN} "Which Way Is Up?" ${PN}-32.xpm + prepgamesdirs +} + +pkg_postinst() { + python_mod_optimize "$(games_get_libdir)/${PN}" + games_pkg_postinst +} + +pkg_postrm() { + python_mod_cleanup "$(games_get_libdir)/${PN}" +} |