diff --git a/recipes/tools/cosmic-store/recipe.toml b/recipes/tools/cosmic-store/recipe.toml index 36e9a17ffb78541d3a4cae1f983e83f8a14581f6..fdf97a0881435e6e9f8e61a712ae75ef14b65bde 100644 --- a/recipes/tools/cosmic-store/recipe.toml +++ b/recipes/tools/cosmic-store/recipe.toml @@ -11,5 +11,13 @@ dependencies = [ script = """ export GETTEXT_DIR="${COOKBOOK_SYSROOT}" export GETTEXT_STATIC=1 -cookbook_cargo --no-default-features +cookbook_cargo --no-default-features --features 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/" """