commit:     819838651c709c32c2b9a78081793841f4ae4ae6
Author:     Philip Miess <Philip_Miess <AT> yahoo <DOT> com>
AuthorDate: Thu Jun 14 00:01:15 2018 +0000
Commit:     Philip Miess <Phil_miess <AT> yahoo <DOT> com>
CommitDate: Thu Jun 14 00:01:15 2018 +0000
URL:        
https://gitweb.gentoo.org/repo/user/superposition.git/commit/?id=81983865

add mousecraft

 games-puzzle/mousecraft/Manifest            |  3 ++
 games-puzzle/mousecraft/metadata.xml        | 14 +++++
 games-puzzle/mousecraft/mousecraft-1.ebuild | 81 +++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+)

diff --git a/games-puzzle/mousecraft/Manifest b/games-puzzle/mousecraft/Manifest
new file mode 100644
index 0000000..ddd494b
--- /dev/null
+++ b/games-puzzle/mousecraft/Manifest
@@ -0,0 +1,3 @@
+DIST mousecraft_Linux.zip 518058773 BLAKE2B 
69b8d1aeab820086fe5724b36ecf10e57b03986aef0ebdcb8b276f81aeac85cb0a8a0143534b5a94048e8c06207ce32ffc0738cd718a556451b7786d314c5b56
 SHA512 
1e4263cc3e13f97609c9890d167d4e84b7dd0dd0b35531e753cbc161e399f1ae6d0ca59de358175bec80316ee52d80902ad847ab361dcfab283de9caf48e41e8
+EBUILD mousecraft-1.ebuild 1482 BLAKE2B 
a6f57102f091f81a7074ef41ef0bd8e2aa9696aed1a8bf577d21150683f03c630d75b25c1c07afd1fa06b49907103126eeb7c6d5640d9e98310e87cd394eccc1
 SHA512 
b7cfd75be45a4c5130c7eb8ab82d738a42afc8a0610807e690250a55a0e9a071f4abef644deab59b649eccb2d95c2b7febe08bf6a67a40c66850ad489eb13ae0
+MISC metadata.xml 916 BLAKE2B 
46177fac216cb7a8c4b2681eb946be198ff2ffa939af28c3ec6963c497ae732ae29c4e593525b7acc2b13a16b4ad3f8ccb5c38631983c2833e9458f7afdd7c95
 SHA512 
da27753a5a64121d0e93b0a18627cbed830da6e0cb94b3f66e968a9d0eb6008f131dd345899b39d748115a3121161c60e6339f7a8d5ce5975978263cb1d881c6

diff --git a/games-puzzle/mousecraft/metadata.xml 
b/games-puzzle/mousecraft/metadata.xml
new file mode 100644
index 0000000..21be8b0
--- /dev/null
+++ b/games-puzzle/mousecraft/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="person">
+<email>[email protected]</email>
+</maintainer>
+<longdescription lang="en">
+MouseCraft is an A to B puzzle game where players help mice in their 
relentless quest for cheese by stacking the world's most famous blocks: 
Tetrominos. Starring: Mad Cat Scientist, Three Blind Mice and tons of 
irresistibly delicious Cheese.
+
+    Experience a remix of two classic gameplay mechanics: Pile up Tetromino 
bricks to create a safe path for as many mice as possible.
+    Discover an epic tale of a crazy cat scientist who is striving to unlock 
the potential of a mysterious, mice-powered machine.
+    Defeat obstacles, overcome gaps and gather collectibles by using different 
types of blocks, be them explosive, crumbling or even jelly ones.
+</longdescription>
+</pkgmetadata>

diff --git a/games-puzzle/mousecraft/mousecraft-1.ebuild 
b/games-puzzle/mousecraft/mousecraft-1.ebuild
new file mode 100644
index 0000000..25d3d05
--- /dev/null
+++ b/games-puzzle/mousecraft/mousecraft-1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit unpacker eutils gnome2-utils
+
+DESCRIPTION="MouseCraft a cross between Tetris and Lemmings."
+HOMEPAGE="http://mouse-craft.com/";
+SRC_URI="mousecraft_Linux.zip"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="bindist fetch"
+
+MYGAMEDIR=/opt/${PN}
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+       dev-libs/expat
+       dev-libs/libbsd
+       media-libs/mesa
+       sys-libs/zlib
+       x11-libs/libX11
+       x11-libs/libXau
+       x11-libs/libXcursor
+       x11-libs/libXdamage
+       x11-libs/libXdmcp
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libXrender
+       x11-libs/libXxf86vm
+       x11-libs/libdrm
+       x11-libs/libxcb
+       x11-libs/libxshmfence
+"
+S="${WORKDIR}"
+
+pkg_nofetch() {
+       einfo "Please buy & download ${SRC_URI} from:"
+       einfo "  https://www.humblebundle.com/store";
+       einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+       unpack_zip ${A}
+}
+
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+       local arch=x86
+       use amd64 && arch=x86_64
+
+       insinto ${MYGAMEDIR}
+       exeinto ${MYGAMEDIR}
+       newexe  "MouseCraft.${arch}" "${PN}"
+       doins -r  "MouseCraft_Data"
+
+       newicon -s 128 MouseCraft_Data/Resources/UnityPlayer.png ${PN}.png
+       make_wrapper ${PN} "${MYGAMEDIR}/${PN}" "${HOME}"
+       make_desktop_entry "${PN}" "MouseCraft" "${PN}" "Game"
+
+       domenu ${PN}
+
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to