mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-04 19:56:36 +08:00
31 lines
948 B
TOML
31 lines
948 B
TOML
[source]
|
|
git = "https://github.com/pop-os/cosmic-files.git"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"zstd",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export ZSTD_SYS_USE_PKG_CONFIG=1
|
|
cookbook_cargo --no-default-features
|
|
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/share/ui/apps/"
|
|
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/usr/share/ui/apps/20_cosmic-files"
|
|
#TODO: install with just?
|
|
APPID="com.system76.CosmicFiles"
|
|
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]
|
|
description = "Graphical file manager from COSMIC desktop"
|
|
dependencies = [
|
|
"libxkbcommon",
|
|
]
|