102.11.0-1
[arch-packages.git] / xf86-input-libinput / repos / extra-x86_64 / PKGBUILD
blob723f7d128c3943d615520979b10c9131469daba5
1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
3 pkgname=xf86-input-libinput
4 pkgver=1.3.0
5 pkgrel=1
6 pkgdesc="Generic input driver for the X.Org server based on libinput"
7 arch=('x86_64')
8 license=('custom:MIT')
9 url="http://xorg.freedesktop.org/"
10 depends=('libinput')
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=('f81f408b37e5f98ee97337dc4da6e78449e554e0ab2a3c6791b089d2cb6d645d0206ddf9babbc2120ab8bfe3b1489314fe42503ee015cec41775024538f3a34f'
16             'SKIP')
17 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
18 #validpgpkeys=('FD0004A26EADFE43A4C3F249C6F7AE200374452D') # "Povilas Kanapickas <povilas@radix.lt>"
20 build() {
21   cd ${pkgname}-${pkgver}
22   ./configure --prefix=/usr \
23     --disable-static
24   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
25   make
28 package() {
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}/"