diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /games-rpg/crosscode/crosscode-1.4.2.2.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'games-rpg/crosscode/crosscode-1.4.2.2.ebuild')
-rw-r--r-- | games-rpg/crosscode/crosscode-1.4.2.2.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-rpg/crosscode/crosscode-1.4.2.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.2.ebuild new file mode 100644 index 000000000000..e28c2d292fc1 --- /dev/null +++ b/games-rpg/crosscode/crosscode-1.4.2.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.63.0 +" + +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 +} |