1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
3 pkgname=xf86-input-libinput
6 pkgdesc="Generic input driver for the X.Org server based on libinput"
9 url="http://xorg.freedesktop.org/"
11 makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=24.4' 'libxi' 'libx11' 'xorgproto')
12 conflicts=('xorg-server<1.19.0' 'X-ABI-XINPUT_VERSION<24' 'X-ABI-XINPUT_VERSION>=25')
13 groups=('xorg-drivers')
14 source=(https://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
15 sha512sums=('3decf694861d1aa3c02d090e66c5ed5513818cb18e9863f1790e0c8122a972230fb903705062b8291e1709db9098623f1205c63ccfb68e552e104813414589c7'
17 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
18 #validpgpkeys=('FD0004A26EADFE43A4C3F249C6F7AE200374452D') # "Povilas Kanapickas <povilas@radix.lt>"
21 cd ${pkgname}-${pkgver}
22 ./configure --prefix=/usr \
24 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
29 cd ${pkgname}-${pkgver}
30 make DESTDIR="${pkgdir}" install
32 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
33 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"