logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 599f0479e0b23951d7a590d0620a994ecd637ea4
parent e18cfccb9b63d946a03306c85f6f6b47cef64211
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 29 May 2022 04:21:13 +0200

games-arcade/crypt_of_the_necrodancer: initial import

Diffstat:

Agames-arcade/crypt_of_the_necrodancer/Manifest1+
Agames-arcade/crypt_of_the_necrodancer/crypt_of_the_necrodancer-1.29.14917.ebuild53+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/games-arcade/crypt_of_the_necrodancer/Manifest b/games-arcade/crypt_of_the_necrodancer/Manifest @@ -0,0 +1 @@ +DIST crypt_of_the_necrodancer_en_1_29_14917.sh 1520278863 BLAKE2B 5874d0b7ac8b154cad4fb2c28ae24642e5fe1869504a720b5e21cb15b69af6d81a0a8756627d42a7f7d362e213b14fc676cceaae269a5bfa4818c5416b168ed1 SHA512 fd65c6261b15da53dbee19b9fd7dde3934178a446f3ff45278166586b7aea500e9ba8c5c163c3152181067adbaa4e8e9229d48b0c4faa552e60147de025eb151 diff --git a/games-arcade/crypt_of_the_necrodancer/crypt_of_the_necrodancer-1.29.14917.ebuild b/games-arcade/crypt_of_the_necrodancer/crypt_of_the_necrodancer-1.29.14917.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit unpacker xdg + +MY_PV="$(ver_rs 1- _)" + +DESCRIPTION="Crypt of the Necrodancer (GOG)" +HOMEPAGE="https://www.gog.com/game/crypt_of_the_necrodancer" +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +SRC_URI="${PN}_en_${MY_PV}.sh" +S="${WORKDIR}" + +dir="/opt/${PN}" + +RESTRICT="bindist fetch strip" +QA_PREBUILT="${dir#/}/*" + +BDEPEND="app-arch/unzip" + +DEPEND=" + media-libs/openal[abi_x86_32] + media-libs/glfw[abi_x86_32] + media-libs/libogg[abi_x86_32] + media-libs/libvorbis[abi_x86_32] +" +RDEPEND="${DEPEND}" + +pkg_nofetch() { + elog "Please buy and download ${A} from:" + elog " https://www.gog.com/game/crypt_of_the_necrodancer" + elog "and move it to your distfiles directory." +} + +src_unpack() { + unpack_zip ${A} +} + + +src_install() { + exeinto "${dir}" + doexe data/noarch/game/NecroDancer + dosym "${dir}/NecroDancer" "/usr/bin/${PN}" + + insinto "${dir}" + doins -r data/noarch/game/data/ + doins -r data/noarch/game/fmod/ +}