# Contributor: Sören Tempel # Maintainer: Daniel Sabogal pkgname=libinput pkgver=1.14.3 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() { cd "$builddir" 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() { cd "$builddir" DESTDIR="$pkgdir" ninja -C builddir/ install } sha512sums="f01d1bd1b25b8060519575644597d35f0c89de5386d298441f440128ceee3e57549921a058adec31adc8b33dbdedf4c0bd12c76905a69f752859d3136e26336d libinput-1.14.3.tar.xz"