summaryrefslogtreecommitdiff
path: root/xorg-input-libinput/PKGBUILD
blob: b54243483ad8d989b9383fb895f9f73148f69619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Contributor: Márcio Silva <coadde@hyperbola.info>

# Based on xf86-input-libinput package

pkgname=xorg-input-libinput
pkgver=0.25.1
pkgrel=2
pkgdesc="Generic input driver for the X.Org server based on libinput"
arch=('i686' 'x86_64')
license=('Expat')
url="https://xorg.freedesktop.org/"
depends=('libinput>=1.2.0')
makedepends=('xenocara-server-devel' 'X-ABI-XINPUT_VERSION=24.1' 'libxi' 'libx11' 'xenocara-proto')
provides=('xf86-input-libinput')
conflicts=('xf86-input-libinput' 'xenocara-server<1.19' 'X-ABI-XINPUT_VERSION<24' 'X-ABI-XINPUT_VERSION>=25')
replaces=('xf86-input-libinput')
groups=('xenocara-drivers' 'xorg-drivers')
source=(https://xorg.freedesktop.org/releases/individual/driver/xf86-input-libinput-$pkgver.tar.bz2{,.sig})
sha512sums=('9a8d16bdffb73a5318d22e352826c410ccb6f8c7ade31c23823bd6c17202bb67e917dfe8d4cab6e54fdf15f201d14d80b6306cedc5f93f66989edfcab5082ece'
            'SKIP')
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>

prepare() {
  cd "xf86-input-libinput-$pkgver"
  autoreconf -vfi
}

build() {
  cd "xf86-input-libinput-$pkgver"
  ./configure --prefix=/usr \
    --disable-static
  make
}

package() {
  cd "xf86-input-libinput-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}