# Contributor: Sören Tempel # Maintainer: Daniel Sabogal pkgname=libinput pkgver=1.10.0 pkgrel=0 pkgdesc="Library for handling input devices" url="http://www.freedesktop.org/wiki/Software/libinput/" arch="all" license="MIT" makedepends="mtdev-dev eudev-dev libevdev-dev meson" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" options="!check" source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" meson --prefix=/usr \ -Ddocumentation=false \ -Dlibwacom=false \ -Ddebug-gui=false \ -Dtests=false builddir/ ninja -C builddir/ } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C builddir/ install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="173f72f454c534dee755b6121c4577900ae9b8a129ac41de69410c3195950a6d149d6148892c4976f013eeabca66117d53fa67e352cc005960863a5576696928 libinput-1.10.0.tar.xz"