dejavu: install to /ui/fonts

This commit is contained in:
Jeremy Soller 2024-05-17 09:32:53 -06:00
parent dd50567cb5
commit 01dff49223
No known key found for this signature in database
GPG Key ID: D02FD439211AF56F

View File

@ -5,7 +5,11 @@ blake3="b702bac8a0f8e0802758549da3b4d8041c3c83c3894e1e8a960eab53af18cce8"
[build]
template = "custom"
script = """
DEST="${COOKBOOK_STAGE}/usr/share/fonts/truetype/dejavu"
mkdir -pv "${DEST}"
cp -v "${COOKBOOK_SOURCE}/ttf/"* "${DEST}"
#TODO: Mono style included in Sans directory
for style in Sans Serif
do
DEST="${COOKBOOK_STAGE}/ui/fonts/${style}/DejaVu"
mkdir -pv "${DEST}"
cp -v "${COOKBOOK_SOURCE}/ttf/DejaVu${style}"*".ttf" "${DEST}"
done
"""