redox/recipes/wip/games/rpg/dcss/recipe.toml

26 lines
734 B
TOML

# TODO make this the no tiles variant, may want separate dcss-tiles recipe for tiles
# TODO compilation instructions: https://github.com/crawl/crawl/blob/master/crawl-ref/INSTALL.md#compiling
# TODO see https://gitlab.redox-os.org/redox-os/redox/-/issues/1800
[source]
tar = "https://github.com/crawl/crawl/releases/download/0.34.1/stone_soup-0.34.1-nodeps.tar.xz"
[build]
template = "custom"
dependencies = [
"lua54",
"ncursesw",
"pcre",
"sqlite3",
"zlib",
]
script = """
DYNAMIC_INIT
# Copy source to build directory
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
cd source
"${COOKBOOK_MAKE}" -j"$($NPROC)"
mkdir -pv "${COOKBOOK_STAGE}/usr/games"
cp -v "${COOKBOOK_BUILD}/crawl" "${COOKBOOK_STAGE}/usr/games"
"""