aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xf86-input-libinput/APKBUILD
blob: bee1155880994c717c7d1e47ecdfce09ae912e8b (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=xf86-input-libinput
pkgver=0.20.0
pkgrel=0
pkgdesc="X.Org input driver based on libinput"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
depends_dev="libinput-dev xorg-server-dev"
makedepends="$depends_dev resourceproto scrnsaverproto"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

md5sums="9a9e638c3e50e1789041619716ac59a2  xf86-input-libinput-0.20.0.tar.bz2"
sha256sums="c54e8155d0ba0e5abba9de7bb227c4e4930959a01a904de96b6c0e52bb2a39b0  xf86-input-libinput-0.20.0.tar.bz2"
sha512sums="05fb52afc95d8268370ba3f204f7b320b487573ee6126bc457024f13ca4ce44e6f9ffd4e900141b7d9a5117d4ddf43556e470e12850870fa2c3d850173e9ce75  xf86-input-libinput-0.20.0.tar.bz2"