orbutils: Move launcher to its own folder

This commit is contained in:
Jeremy Soller 2024-05-02 12:28:59 -06:00
parent 9aaba0707b
commit e31eb52307
No known key found for this signature in database
GPG Key ID: D02FD439211AF56F

View File

@ -4,24 +4,16 @@ git = "https://gitlab.redox-os.org/redox-os/orbutils.git"
[build]
template = "custom"
script = """
ORIGINAL_SOURCE="${COOKBOOK_SOURCE}"
mkdir -pv "${COOKBOOK_STAGE}/ui"
cp -rv "${COOKBOOK_SOURCE}/apps" "${COOKBOOK_STAGE}/ui/apps"
COOKBOOK_SOURCE="${ORIGINAL_SOURCE}/orbutils"
"${COOKBOOK_CARGO}" install \
--path "${COOKBOOK_SOURCE}" \
--root "${COOKBOOK_STAGE}/usr" \
--locked \
--no-track \
${install_flags}
COOKBOOK_SOURCE="${ORIGINAL_SOURCE}/calculator"
"${COOKBOOK_CARGO}" install \
--path "${COOKBOOK_SOURCE}" \
--root "${COOKBOOK_STAGE}/usr" \
--locked \
--no-track \
${install_flags}
for project in orbutils calculator launcher
do
"${COOKBOOK_CARGO}" install \
--path "${COOKBOOK_SOURCE}/${project}" \
--root "${COOKBOOK_STAGE}/usr" \
--locked \
--no-track \
${install_flags}
done
"""