redox/recipes/tools/sodium/recipe.toml
2025-11-17 11:06:16 +07:00

20 lines
501 B
TOML

[source]
git = "https://gitlab.redox-os.org/redox-os/sodium.git"
[build]
template = "custom"
script = """
DYNAMIC_INIT
"${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"
"""