[source]
git = "https://gitlab.redox-os.org/redox-os/sodium.git"

[build]
template = "custom"
script = """
"${COOKBOOK_CARGO}" install \
    --path "${COOKBOOK_SOURCE}" \
    --root "${COOKBOOK_STAGE}/usr" \
    --locked \
    --no-track \
    --features orbital

mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
cp -v ${COOKBOOK_SOURCE}/manifest "${COOKBOOK_STAGE}/ui/apps/sodium"
mkdir -pv "${COOKBOOK_STAGE}/ui/icons"
cp -v ${COOKBOOK_SOURCE}/icon.png "${COOKBOOK_STAGE}/ui/icons/sodium.png"
"""
