if is_depends_enabled ${SPELL} asciidoc; then
  make ${OPTS} ${COMPTON_OPTS} install
else
  install -vm 755 compton "${INSTALL_ROOT}/usr/bin/"
fi &&

if is_depends_enabled ${SPELL} libconfig; then
  if [ ! -d "${INSTALL_ROOT}/etc/xdg" ]; then
    install -vm 755 -d "${INSTALL_ROOT}/etc/xdg"
  fi &&

  install_config_file compton.sample.conf "${INSTALL_ROOT}/etc/xdg/compton.conf"
fi
