[source]
git = "https://github.com/jackpot51/ClassiCube.git"

[build]
template = "custom"
dependencies = [
    "liborbital",
    "mesa",
    "sdl2",
    "zlib",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./

"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" -C src redox

mkdir -pv "${COOKBOOK_STAGE}/usr/games/classicube"
cp -v "src/ClassiCube" "${COOKBOOK_STAGE}/usr/games/classicube"

mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/classicube"

mkdir -pv "${COOKBOOK_STAGE}/usr/share/icons/apps"
cp -v "${COOKBOOK_SOURCE}/misc/CCicon.png" "${COOKBOOK_STAGE}/usr/share/icons/apps/classicube.png"
"""
