# Maintainer: Natanael Copa pkgname=libevdev pkgver=1.5.4 pkgrel=0 pkgdesc="Kernel Evdev Device Wrapper Library" url="https://www.freedesktop.org/wiki/Software/libevdev" arch="all" license="MIT" depends="" makedepends="python linux-headers" subpackages="$pkgname-dev $pkgname-doc" source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="8f22027bd7a7ba19e6f2695f78e672b6 libevdev-1.5.4.tar.xz" sha256sums="11fe76d62cc76fbc9dbf8e94696a80eee63780139161e5cf54c55ec21a8173a4 libevdev-1.5.4.tar.xz" sha512sums="9062b8c599ccc361d39bd0d06ee7dd7ddcca21541849a5f53ff1ec6d9760a8b575d90201a9a6b5ac5a01e7a77af9d191901bb1196976de52080e351717119f4e libevdev-1.5.4.tar.xz"