aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-libinput/APKBUILD
blob: edc3ee926222fbabda076493d703006a0e056059 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-libinput
pkgver=0.29.0
pkgrel=0
pkgdesc="X.Org input driver based on libinput"
url="https://xorg.freedesktop.org"
arch="all"
license="MIT"
depends_dev="libinput-dev xorg-server-dev"
makedepends="$depends_dev eudev-dev xorgproto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-input-libinput-$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
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="f19ef2e9e0c1336d8e0b17853e1fe0c66ecf50e7b10b10b6c5cbafc99323694597821e15e8e358419ef3c68d1009967fd2ec3760800c85adbb71ac3ecc99954b  xf86-input-libinput-0.29.0.tar.bz2"