From 87461fd72cd0d6e3ab8bf47cff749e80aa1212d1 Mon Sep 17 00:00:00 2001 From: Ribbon Date: Sat, 11 Jan 2025 08:41:36 +0000 Subject: [PATCH] Update recipes --- recipes/wip/games/math/cosmic-2048/recipe.toml | 5 ----- recipes/wip/games/math/cosmic-ext-2048/recipe.toml | 14 ++++++++++++++ recipes/wip/math/cosmic-ext-calculator/recipe.toml | 2 +- .../monitors/cosmic-ext-observatory/recipe.toml | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 recipes/wip/games/math/cosmic-2048/recipe.toml create mode 100644 recipes/wip/games/math/cosmic-ext-2048/recipe.toml diff --git a/recipes/wip/games/math/cosmic-2048/recipe.toml b/recipes/wip/games/math/cosmic-2048/recipe.toml deleted file mode 100644 index e3b83481..00000000 --- a/recipes/wip/games/math/cosmic-2048/recipe.toml +++ /dev/null @@ -1,5 +0,0 @@ -#TODO not compiled or tested -[source] -git = "https://github.com/Kartonrealista/cosmic-ext-2048" -[build] -template = "cargo" diff --git a/recipes/wip/games/math/cosmic-ext-2048/recipe.toml b/recipes/wip/games/math/cosmic-ext-2048/recipe.toml new file mode 100644 index 00000000..872d66c0 --- /dev/null +++ b/recipes/wip/games/math/cosmic-ext-2048/recipe.toml @@ -0,0 +1,14 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/Kartonrealista/cosmic-ext-2048" +[build] +template = "custom" +script = """ +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/applications +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/metainfo +mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons +cp -rv "${COOKBOOK_SOURCE}"/res/io.github.Kartonrealista.cosmic-ext-2048.desktop "${COOKBOOK_STAGE}"/usr/share/applications +cp -rv "${COOKBOOK_SOURCE}"/res/io.github.Kartonrealista.cosmic-ext-2048.metainfo.xml "${COOKBOOK_STAGE}"/usr/share/metainfo +cp -rv "${COOKBOOK_SOURCE}"/res/icons/hicolor "${COOKBOOK_STAGE}"/usr/share/icons +cookbook_cargo +""" diff --git a/recipes/wip/math/cosmic-ext-calculator/recipe.toml b/recipes/wip/math/cosmic-ext-calculator/recipe.toml index ce024aa3..57f0dd2a 100644 --- a/recipes/wip/math/cosmic-ext-calculator/recipe.toml +++ b/recipes/wip/math/cosmic-ext-calculator/recipe.toml @@ -10,6 +10,6 @@ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/metainfo mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons cp -rv "${COOKBOOK_SOURCE}"/res/app.desktop "${COOKBOOK_STAGE}"/usr/share/applications/dev.edfloreshz.Calculator.desktop cp -rv "${COOKBOOK_SOURCE}"/res/metainfo.xml "${COOKBOOK_STAGE}"/usr/share/metainfo/dev.edfloreshz.Calculator.metainfo.xml -cp -rv "${COOKBOOK_SOURCE}"/res/icons/hicolor "${COOKBOOK_STAGE}"/usr/share/icons +cp -rv "${COOKBOOK_SOURCE}"/res/icons/hicolor/scalable/apps/icon.svg "${COOKBOOK_STAGE}"/usr/share/icons/hicolor/scalable/apps/dev.edfloreshz.Calculator.svg cookbook_cargo """ diff --git a/recipes/wip/monitors/cosmic-ext-observatory/recipe.toml b/recipes/wip/monitors/cosmic-ext-observatory/recipe.toml index 70c3c59f..6dd545a2 100644 --- a/recipes/wip/monitors/cosmic-ext-observatory/recipe.toml +++ b/recipes/wip/monitors/cosmic-ext-observatory/recipe.toml @@ -10,6 +10,6 @@ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/metainfo mkdir -pv "${COOKBOOK_STAGE}"/usr/share/icons cp -rv "${COOKBOOK_SOURCE}"/observatory/res/app.desktop "${COOKBOOK_STAGE}"/usr/share/applications/io.github.cosmic_utils.observatory.desktop cp -rv "${COOKBOOK_SOURCE}"/observatory/res/metainfo.xml "${COOKBOOK_STAGE}"/usr/share/metainfo/io.github.cosmic_utils.observatory.metainfo.xml -cp -rv "${COOKBOOK_SOURCE}"/observatory/res/icons/hicolor "${COOKBOOK_STAGE}"/usr/share/icons +cp -rv "${COOKBOOK_SOURCE}"/observatory/res/icons/hicolor/scalable/apps/icon.svg "${COOKBOOK_STAGE}"/usr/share/icons/hicolor/scalable/apps/io.github.cosmic_utils.observatory.svg cookbook_cargo_packages observatory """