From 04a489645d28b3f2ff518b14c533fc6f2077a0d8 Mon Sep 17 00:00:00 2001 From: Ribbon <ribbon_45@proton.me> Date: Tue, 11 Jun 2024 21:18:25 +0000 Subject: [PATCH] Update recipes --- recipes/wip/dev/loco/recipe.toml | 12 ++++++++++++ recipes/wip/dev/protofetch/recipe.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/recipes/wip/dev/loco/recipe.toml b/recipes/wip/dev/loco/recipe.toml index 3a461cb02..719c1645c 100644 --- a/recipes/wip/dev/loco/recipe.toml +++ b/recipes/wip/dev/loco/recipe.toml @@ -3,3 +3,15 @@ git = "https://github.com/loco-rs/loco" [build] template = "custom" +script = """ +binary=loco-rs +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + --package "${binary}" \ + --release + --cli + mkdir -pv "${COOKBOOK_STAGE}/usr/bin" + cp -v \ + "target/${TARGET}/release/${binary}" \ + "${COOKBOOK_STAGE}/usr/bin/${binary}" +""" diff --git a/recipes/wip/dev/protofetch/recipe.toml b/recipes/wip/dev/protofetch/recipe.toml index a66f1396d..33f03db52 100644 --- a/recipes/wip/dev/protofetch/recipe.toml +++ b/recipes/wip/dev/protofetch/recipe.toml @@ -1,4 +1,4 @@ -#TODO Not compiled or tested +#TODO compiled but not tested [source] git = "https://github.com/coralogix/protofetch" [build] -- GitLab