aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-libinput/APKBUILD
blob: 3feef4357412c6779ae04d1c3c94e2a66454a7d5 (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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-libinput
pkgver=0.28.1
pkgrel=0
pkgdesc="X.Org input driver based on libinput"
url="https://xorg.freedesktop.org"
arch="all"
license="MIT"
depends=""
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/$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
	make
}

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

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

sha512sums="2b8cabfbc3490edbe928771ed9d62a0d4a423bc1373fc6cf9d3a6b5937e17ddc48ebb1b70f1191e507024e4b8220c137495cbba825292b51e50709daa7d31623  xf86-input-libinput-0.28.1.tar.bz2"