diff options
Diffstat (limited to 'games-puzzle/splice')
-rw-r--r-- | games-puzzle/splice/Manifest | 3 | ||||
-rw-r--r-- | games-puzzle/splice/metadata.xml | 8 | ||||
-rw-r--r-- | games-puzzle/splice/splice-20121120.ebuild | 60 |
3 files changed, 71 insertions, 0 deletions
diff --git a/games-puzzle/splice/Manifest b/games-puzzle/splice/Manifest new file mode 100644 index 000000000000..6d55a3efcde1 --- /dev/null +++ b/games-puzzle/splice/Manifest @@ -0,0 +1,3 @@ +DIST splice-linux-1353389454.tar.gz 305838859 BLAKE2B ef8c6ae70b48f6c1860e3d6591876063abea77fe0f9a7597f91e32295bee8e517fed1bf6fa3fa5e491ea11e8da7faffa26ad9d9329d960269e29dda7adf8a14d SHA512 67a83a30bdb8ff0eecf9097bb4615053fcdb073daada4a24b61ae239ed56b7d2192247e80989c67554dcfcc1069c2105a6083f9fafffa4bbd66bbf29edad6a44 +EBUILD splice-20121120.ebuild 1295 BLAKE2B f5b9bd1310df8d856d22d902c731e973aa7270463628f421dfceb590d7d89ace1f6abe5fd63e7753226c69fb576f295d28c36632572fb26731a0b86d7cc5fbf9 SHA512 4b3e62b2bfed9a7c5a33df7594a7dcb8558c1b255fe03b33bae9175e896281539e414d13747965569eb48298f42a4c1fbe9b06b7ff4e79b69e0698790690f0cc +MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-puzzle/splice/metadata.xml b/games-puzzle/splice/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-puzzle/splice/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> diff --git a/games-puzzle/splice/splice-20121120.ebuild b/games-puzzle/splice/splice-20121120.ebuild new file mode 100644 index 000000000000..cd9f3346db97 --- /dev/null +++ b/games-puzzle/splice/splice-20121120.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: unbundle mono? (seems hardcoded) +# icon + +EAPI=5 + +inherit eutils games + +DESCRIPTION="An experimental and artistic puzzler set in a microbial world" +HOMEPAGE="http://www.cipherprime.com/games/splice/" +SRC_URI="splice-linux-1353389454.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/Splice* + ${MYGAMEDIR#/}/Splice_Data/Mono/*" + +RDEPEND=" + virtual/glu + virtual/opengl + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext" + +S=${WORKDIR}/Linux + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_prepare() { + einfo "removing ${ARCH} unrelated files..." + rm -v Splice.x86$(usex amd64 "" "_64") || die + rm -rv Splice_Data/Mono/x86$(usex amd64 "" "_64") || die + + rm README~ || die + mv README "${T}"/ || die +} + +src_install() { + dodoc "${T}"/README + + insinto "${MYGAMEDIR}" + doins -r * + + make_desktop_entry ${PN} + games_make_wrapper ${PN} "./Splice.x86$(usex amd64 "_64" "")" "${MYGAMEDIR}" + + fperms +x "${MYGAMEDIR}"/Splice.x86$(usex amd64 "_64" "") + prepgamesdirs +} |