From 0ab49f8dc561c0998d8e8b47cbf21393b1f207c0 Mon Sep 17 00:00:00 2001
From: Ribbon <ribbon_45@proton.me>
Date: Sun, 14 Jul 2024 08:05:01 +0000
Subject: [PATCH] Improve a recipe

---
 recipes/wip/sound/glicol/recipe.toml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/recipes/wip/sound/glicol/recipe.toml b/recipes/wip/sound/glicol/recipe.toml
index e0ef61c90..e034e74a2 100644
--- a/recipes/wip/sound/glicol/recipe.toml
+++ b/recipes/wip/sound/glicol/recipe.toml
@@ -2,4 +2,9 @@
 [source]
 git = "https://github.com/glicol/glicol-cli"
 [build]
-template = "cargo"
+template = "custom"
+script = """
+cookbook_cargo
+mkdir -pv "${COOKBOOK_STAGE}"/usr/share/glicol
+cp -rv "${COOKBOOK_SOURCE}"/{test.glicol,test2.glicol} "${COOKBOOK_STAGE}"/usr/share/glicol
+"""
-- 
GitLab