diff options
Diffstat (limited to 'fonts-x11/cozette/INSTALL')
-rwxr-xr-x | fonts-x11/cozette/INSTALL | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/fonts-x11/cozette/INSTALL b/fonts-x11/cozette/INSTALL new file mode 100755 index 0000000000..d43db75fc0 --- /dev/null +++ b/fonts-x11/cozette/INSTALL @@ -0,0 +1,29 @@ +local PCF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/misc" && +local OTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/OTF" && +local TTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/TTF" && + +if [ ! -d "${PCF_DIR}" ]; then + mkdir -p "${PCF_DIR}" +fi && + +install -vm 0644 *.pcf.gz "${PCF_DIR}" && + +if list_find "${COZETTE_FORMATS}" otb; then + install -vm 0644 *.otb "${PCF_DIR}" +fi && + +if list_find "${COZETTE_FORMATS}" otf; then + if [ ! -d "${OTF_DIR}" ]; then + mkdir -p "${OTF_DIR}" + fi && + + install -vm 0644 *.otf "${OTF_DIR}" +fi && + +if list_find "${COZETTE_FORMATS}" ttf; then + if [ ! -d "${TTF_DIR}" ]; then + mkdir -p "${TTF_DIR}" + fi && + + install -vm 0644 *.ttf "${TTF_DIR}" +fi |