mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
Closes: https://bugs.gentoo.org/780972 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
41 lines
876 B
Bash
41 lines
876 B
Bash
# Copyright 2018-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="rewrite of the jump-and-run platformer Doukutsu Monogatari(Cave Story)"
|
|
HOMEPAGE="https://github.com/nxengine/nxengine-evo http://nxengine.sourceforge.net/"
|
|
SRC_URI="
|
|
https://github.com/nxengine/nxengine-evo/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
|
https://www.cavestory.org/downloads/cavestoryen.zip
|
|
"
|
|
SLOT="0"
|
|
LICENSE="GPL-3"
|
|
KEYWORDS="~amd64"
|
|
|
|
DEPEND="
|
|
media-libs/libpng:=
|
|
media-libs/libsdl2:=
|
|
media-libs/sdl2-mixer:=
|
|
media-libs/sdl2-ttf:=
|
|
"
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
src_compile() {
|
|
cmake_src_compile
|
|
|
|
cp -r data/ "${WORKDIR}/CaveStory"
|
|
cd "${WORKDIR}/CaveStory"
|
|
"${S}"/bin/extract
|
|
}
|
|
|
|
src_install() {
|
|
newbin bin/extract nx-extract
|
|
dobin bin/nx
|
|
|
|
dodir /usr/share
|
|
cp -r "${WORKDIR}/CaveStory/" "${ED}/usr/share/nxengine"
|
|
}
|