# Contributor: Sören Tempel # Maintainer: A. Wilcox pkgname=libinput pkgver=1.26.2 pkgrel=0 pkgdesc="Library for handling input devices" url="https://www.freedesktop.org/wiki/Software/libinput/" arch="all" options="!check" # wow, such broken license="MIT" depends="" checkdepends="check-dev valgrind" makedepends="doxygen eudev-dev graphviz libevdev-dev libwacom-dev meson mtdev-dev ninja py3-recommonmark py3-sphinx py3-sphinx-rtd-theme" subpackages="$pkgname-dev $pkgname-doc" replaces="$pkgname-libs" source="https://gitlab.freedesktop.org/libinput/libinput/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2" build() { meson --prefix=/usr \ -Dlibwacom=true \ -Ddebug-gui=false \ -Dtests=false builddir/ ninja -C builddir/ } check() { ninja -C builddir/ test } package() { DESTDIR="$pkgdir" ninja -C builddir/ install } sha512sums="51fab62e1bfb6007287e1219bf458a351806ce685e6e7ba5360062c863f0811da75acc6ec92aef7f9e0556dac0413fbe43a4744885f7449e38036130112907a6 libinput-1.26.2.tar.bz2"