Add cosmic-reader

This commit is contained in:
Jeremy Soller 2024-05-27 08:59:28 -06:00
parent 661d057711
commit 3db63b9024
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,6 @@
name=COSMIC Reader
binary=/bin/cosmic-reader
icon=/ui/icons/apps/accessories-text-editor.png
accept=*.pdf
author=Jeremy Soller
description=COSMIC Reader

View File

@ -0,0 +1,11 @@
[source]
git = "https://github.com/pop-os/cosmic-reader.git"
branch = "master"
[build]
template = "custom"
script = """
cookbook_cargo --no-default-features
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
cp -v "${COOKBOOK_RECIPE}/manifest" "${COOKBOOK_STAGE}/ui/apps/40_cosmic-reader"
"""