mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
27 lines
829 B
TOML
27 lines
829 B
TOML
[source]
|
|
git = "https://github.com/pop-os/cosmic-store.git"
|
|
rev = "epoch-1.0.8"
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"gettext",
|
|
"libxkbcommon",
|
|
"openssl3",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export GETTEXT_DIR="${COOKBOOK_SYSROOT}/usr"
|
|
export ZSTD_SYS_USE_PKG_CONFIG=1
|
|
cookbook_cargo --no-default-features --features desktop,pkgar
|
|
|
|
#TODO: install with just?
|
|
APPID="com.system76.CosmicStore"
|
|
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/"
|
|
"""
|