redox/recipes/tools/cosmic-term/recipe.toml
Anhad Singh 9042d5ebd4
fix(cosmic-term): add missing shared-deps
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2025-02-09 18:51:46 +11:00

27 lines
809 B
TOML

[source]
git = "https://github.com/pop-os/cosmic-term.git"
branch = "master"
[build]
template = "custom"
script = """
DYNAMIC_INIT
cookbook_cargo --no-default-features
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/ui/apps/10_cosmic-term"
#TODO: install with just?
APPID="com.system76.CosmicTerm"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/applications/"
cp -v "${COOKBOOK_SOURCE}/res/${APPID}.desktop" "${COOKBOOK_STAGE}/usr/share/applications/"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/metainfo/"
cp -v "${COOKBOOK_SOURCE}/res/${APPID}.metainfo.xml" "${COOKBOOK_STAGE}/usr/share/metainfo/"
mkdir -pv "${COOKBOOK_STAGE}/usr/share/icons/"
cp -rv "${COOKBOOK_SOURCE}/res/icons/hicolor/" "${COOKBOOK_STAGE}/usr/share/icons/"
"""
[package]
shared-deps = [
"libgcc"
]