diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-03-26 22:02:47 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-03-26 22:02:47 +0000 |
commit | 3ef5c34f506305d28473f4dcc08c7abcd54efd2b (patch) | |
tree | e5323970441c4172dfe0f08d382f45b7b2c552de /games-rpg | |
parent | dev-libs/nwjs: New package at version 0.62.1 (diff) | |
download | gentoo-3ef5c34f506305d28473f4dcc08c7abcd54efd2b.tar.gz gentoo-3ef5c34f506305d28473f4dcc08c7abcd54efd2b.tar.bz2 gentoo-3ef5c34f506305d28473f4dcc08c7abcd54efd2b.zip |
games-rpg/crosscode: New package at version 1.4.2
Despite the arch-specific filename, this game will run under any platform that
NW.js supports. We're only supporting amd64 for now though.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/crosscode/Manifest | 1 | ||||
-rw-r--r-- | games-rpg/crosscode/crosscode-1.4.2.ebuild | 49 | ||||
-rw-r--r-- | games-rpg/crosscode/metadata.xml | 8 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest new file mode 100644 index 000000000000..df0d0771a9dc --- /dev/null +++ b/games-rpg/crosscode/Manifest @@ -0,0 +1 @@ +DIST crosscode-new-linux64.zip 562370653 BLAKE2B 5e114e3618615604fe255e1e1a9817714af4bdf43aae1001f0416c78ab379e047fd5bef4e015f239fbead54aa9726531081ea9164e6bd3504eaa30c982b1feb1 SHA512 eae7d0bcdab3cb97dfa03f877bc8849118839aac762d69781d62efadfac8cc87c87e5a0d491d500161dbc8c9bea29ec767e175b9d5f7e62e100050ddc84d61ca diff --git a/games-rpg/crosscode/crosscode-1.4.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.ebuild new file mode 100644 index 000000000000..016286137665 --- /dev/null +++ b/games-rpg/crosscode/crosscode-1.4.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHECKREQS_DISK_BUILD="767M" +inherit check-reqs desktop wrapper xdg + +DESCRIPTION="Retro-inspired 2D Action RPG with a sci-fi story" +HOMEPAGE="https://radicalfishgames.itch.io/crosscode" +SRC_URI="crosscode-new-linux64.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + >=dev-libs/nwjs-0.62.1 +" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}" +DIR="/usr/share/${PN}" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_prepare() { + default + + # Greenworks is only needed under Steam. + rm -r assets/modules/ || die +} + +src_install() { + insinto "${DIR}" + doins -r assets/ favicon.png natives_blob.bin package.json + + newicon assets/media/face/lore/lea.png ${PN}.png + make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'" + make_desktop_entry ${PN} CrossCode +} diff --git a/games-rpg/crosscode/metadata.xml b/games-rpg/crosscode/metadata.xml new file mode 100644 index 000000000000..7c730d47817a --- /dev/null +++ b/games-rpg/crosscode/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> |