summaryrefslogtreecommitdiffstats
path: root/fonts-x11/spleen/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'fonts-x11/spleen/INSTALL')
-rwxr-xr-xfonts-x11/spleen/INSTALL25
1 files changed, 25 insertions, 0 deletions
diff --git a/fonts-x11/spleen/INSTALL b/fonts-x11/spleen/INSTALL
new file mode 100755
index 0000000000..d078470401
--- /dev/null
+++ b/fonts-x11/spleen/INSTALL
@@ -0,0 +1,25 @@
+local PCF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/misc" &&
+local OTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/OTF" &&
+local PSFU_DIR="${INSTALL_ROOT}/usr/share/consolefonts" &&
+
+if [ ! -d "${PCF_DIR}" ]; then
+ mkdir -p "${PCF_DIR}"
+fi &&
+
+install -vm 0644 *.pcf.gz "${PCF_DIR}" &&
+
+if list_find "${SPLEEN_FORMATS}" otf; then
+ if [ ! -d "${OTF_DIR}" ]; then
+ mkdir -p "${OTF_DIR}"
+ fi &&
+
+ install -vm 0644 *.otf "${OTF_DIR}"
+fi &&
+
+if list_find "${SPLEEN_FORMATS}" psfu; then
+ if [ ! -d "${PSFU_DIR}" ]; then
+ mkdir -p "${PSFU_DIR}"
+ fi &&
+
+ install -vm 0644 *.psfu.gz "${PSFU_DIR}"
+fi