# Contributor: Sören Tempel # Maintainer: Daniel Sabogal pkgname=libinput pkgver=1.15.2 pkgrel=0 pkgdesc="Library for handling input devices" url="https://www.freedesktop.org/wiki/Software/libinput" arch="all" license="MIT" makedepends="eudev-dev libevdev-dev meson mtdev-dev" checkdepends="diffutils bash" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" source="https://freedesktop.org/software/libinput/libinput-$pkgver.tar.xz" build() { meson \ --buildtype=plain \ --prefix=/usr \ --libdir=lib \ -Ddocumentation=false \ -Dlibwacom=false \ -Ddebug-gui=false \ -Dtests=false builddir/ ninja -C builddir/ } check() { cd "$builddir/builddir" ninja test } package() { DESTDIR="$pkgdir" ninja -C builddir/ install } sha512sums="f6b50dbdf6ee6b65f88e020c4292c94c3178125d58629f27c2e52f92b658ccd67e0c5604fbf0b303621ff0386637ce1e291daaa991761d4145e8bcda4dd128a2 libinput-1.15.2.tar.xz"