# Contributor: Sören Tempel # Maintainer: A. Wilcox pkgname=libinput pkgver=1.15.6 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://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" 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="90459e5a1f22fd42ffcbab157b461e4514c30803bcebdaced76c65c05cccfa6f259640a50497055fe7ed0b376a6979f6d1d01227ae447fe60ba88fa81142b969 libinput-1.15.6.tar.xz"