# Maintainer: Laurent Carlier pkgname=xf86-input-libinput pkgver=1.2.1 pkgrel=1 groups=('xorg-drivers' 'custom') source=( https://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.xz scroll-scale.patch ) sha512sums=('SKIP' 'SKIP') pkgdesc="Generic input driver for the X.Org server based on libinput, with scroll scaling" arch=('x86_64') license=('custom:MIT') url="http://xorg.freedesktop.org/" depends=('libinput') makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=24.4' 'libxi' 'libx11' 'xorgproto') conflicts=('xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<24' 'X-ABI-XINPUT_VERSION>=25') validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) #validpgpkeys=('FD0004A26EADFE43A4C3F249C6F7AE200374452D') # "Povilas Kanapickas " prepare() { cd ${pkgname}-${pkgver} patch -p1 -i ../scroll-scale.patch } build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" }