diff --git a/recipes/gui/orbutils/recipe.toml b/recipes/gui/orbutils/recipe.toml index 520c7f6a3f11d8f96836330310bfadcd26747907..89871fb1ebcf51e8cd34a5e1e98fe8a007f0a149 100644 --- a/recipes/gui/orbutils/recipe.toml +++ b/recipes/gui/orbutils/recipe.toml @@ -4,24 +4,16 @@ git = "https://gitlab.redox-os.org/redox-os/orbutils.git" [build] template = "custom" script = """ -ORIGINAL_SOURCE="${COOKBOOK_SOURCE}" - mkdir -pv "${COOKBOOK_STAGE}/ui" cp -rv "${COOKBOOK_SOURCE}/apps" "${COOKBOOK_STAGE}/ui/apps" -COOKBOOK_SOURCE="${ORIGINAL_SOURCE}/orbutils" -"${COOKBOOK_CARGO}" install \ - --path "${COOKBOOK_SOURCE}" \ - --root "${COOKBOOK_STAGE}/usr" \ - --locked \ - --no-track \ - ${install_flags} - -COOKBOOK_SOURCE="${ORIGINAL_SOURCE}/calculator" -"${COOKBOOK_CARGO}" install \ - --path "${COOKBOOK_SOURCE}" \ - --root "${COOKBOOK_STAGE}/usr" \ - --locked \ - --no-track \ - ${install_flags} +for project in orbutils calculator launcher +do + "${COOKBOOK_CARGO}" install \ + --path "${COOKBOOK_SOURCE}/${project}" \ + --root "${COOKBOOK_STAGE}/usr" \ + --locked \ + --no-track \ + ${install_flags} +done """