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

[build]
template = "custom"
script = """
DYNAMIC_STATIC_INIT
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
"${COOKBOOK_CARGO}" build --release
# other than x86_64 this will trigger error because of lacking .so files, which is fine
"${COOKBOOK_MAKE}" install HOST="${TARGET}" DESTDIR="${COOKBOOK_STAGE}" || true
"""
