summaryrefslogtreecommitdiffstats
path: root/fonts-x11/inter/INSTALL
blob: 8dc2be0c6c3722b8f48c6224ad43aa14e6940efc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local TTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/TTF" &&
local OTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/OTF" &&

case "${INTER_FORMAT}" in
  otf)
    if [ ! -d "${OTF_DIR}" ]; then
      install -vm 755 -d "${OTF_DIR}"
    fi &&

    install -vm 644 "Inter"/*.otf "${OTF_DIR}"
  ;;
  ttf-hinted)
    if [ ! -d "${TTF_DIR}" ]; then
      install -vm 755 -d "${TTF_DIR}"
    fi &&

    install -vm 644 "Inter (Hinted, for Windows)"/*.ttf "${TTF_DIR}"
  ;;
esac