# Note: depends on libevdev
# Note: depends on pkg-config
# Note: depends on mtdev
# Note: depends on systemd or udev
wget -c https://www.freedesktop.org/software/libinput/libinput-1.7.0.tar.xz
tar -xJf libinput-1.7.0.tar.xz
cd libinput-1.7.0
mkdir -p build
cd build
../configure --prefix="/usr"  ||  ../configure --prefix="/usr" --disable-libwacom
make # Doesn't mind -j#
make install