pacman -Syu
cd ~/icinga2
git pull
cd build
cmake -DICINGA2_WITH_PGSQL=OFF -DUSE_SYSTEMD=ON -DCMAKE_INSTALL_PREFIX=/usr/local/icinga2 -DICINGA2_PLUGINDIR=/usr/local/icinga/libexec -DCMAKE_INSTALL_LOCALSTATEDIR=/usr/local/icinga2/var ..
make -j2
sudo make install
cd /usr/local/share/icingaweb2
git pull
cd /usr/local/share/icingaweb2/modules/grafana
git pull
mysql -h database -u icinga -p icinga < /usr/local/icinga2/share/icinga2-ido-mysql/schema/upgrade/2.8.1.sql
CMake reports error Your cache is probably stale
Solution: rm -rf build/*