mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Convert sodium recipe to toml
This commit is contained in:
parent
6b90326bca
commit
a2ec53a47a
@ -1,10 +0,0 @@
|
||||
GIT=https://gitlab.redox-os.org/redox-os/sodium.git
|
||||
BINDIR="/ui/bin"
|
||||
CARGOFLAGS="--features orbital"
|
||||
|
||||
function recipe_stage {
|
||||
mkdir -pv "$1/ui/apps"
|
||||
cp -v manifest "$1/ui/apps/sodium"
|
||||
mkdir -pv "$1/ui/icons"
|
||||
cp -v icon.png "$1/ui/icons/sodium.png"
|
||||
}
|
||||
18
recipes/tools/sodium/recipe.toml
Normal file
18
recipes/tools/sodium/recipe.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/redox-os/sodium.git"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
"${COOKBOOK_CARGO}" install \
|
||||
--path "${COOKBOOK_SOURCE}" \
|
||||
--root "${COOKBOOK_STAGE}/ui" \
|
||||
--locked \
|
||||
--no-track \
|
||||
--features orbital
|
||||
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/apps"
|
||||
cp -v ${COOKBOOK_SOURCE}/manifest "${COOKBOOK_STAGE}/ui/apps/sodium"
|
||||
mkdir -pv "${COOKBOOK_STAGE}/ui/icons"
|
||||
cp -v ${COOKBOOK_SOURCE}/icon.png "${COOKBOOK_STAGE}/ui/icons/sodium.png"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user