post_install() {
  if [[ -d /usr/share/fonts ]]; then
    echo -n "Creating X fontdir indices..."
    find /usr/share/fonts -mindepth 1 -type d -printf '%p/\n' |
      /usr/share/libalpm/scripts/xorg-mkfontdir
    echo " done."
  fi
}
