Add recipes

This commit is contained in:
Ribbon 2025-01-11 08:30:52 +00:00
parent 5e98219f19
commit ad53bcc970
6 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#TODO not compiled or tested
[source]
git = "https://github.com/woodruffw/zizmor"
[build]
template = "cargo"

View File

@ -0,0 +1,10 @@
#TODO not compiled or tested
[source]
git = "https://github.com/Kkobarii/Rusty-Tape"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/rusty-tape
cp -rv "${COOKBOOK_SOURCE}"/data/* "${COOKBOOK_STAGE}"/usr/share/rusty-tape
cookbook_cargo
"""

View File

@ -0,0 +1,10 @@
#TODO not compiled or tested
[source]
git = "https://github.com/e257-fi/tackler-ng"
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}"/usr/share/tackler-ng/examples
cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}"/usr/share/tackler-ng/examples
cookbook_cargo_packages tackler
"""

View File

@ -0,0 +1,15 @@
#TODO not compiled or tested
#TODO verify if the desktop shortcut and icon configuration is correct
[source]
git = "https://github.com/cosmic-utils/calculator"
[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/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
cookbook_cargo
"""

View File

@ -0,0 +1,15 @@
#TODO not compiled or tested
#TODO verify if the resource commands are correct
[source]
git = "https://github.com/cosmic-utils/observatory"
[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}"/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
cookbook_cargo_packages observatory
"""

View File

@ -0,0 +1,15 @@
#TODO not compiled or tested
#TODO verify if the resource commands are correct
[source]
git = "https://github.com/cosmic-utils/forecast"
[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/com.jwestall.Forecast.desktop "${COOKBOOK_STAGE}"/usr/share/applications
cp -rv "${COOKBOOK_SOURCE}"/res/com.jwestall.Forecast.metainfo.xml "${COOKBOOK_STAGE}"/usr/share/metainfo
cp -rv "${COOKBOOK_SOURCE}"/res/icons/hicolor "${COOKBOOK_STAGE}"/usr/share/icons
cookbook_cargo
"""