aboutsummaryrefslogtreecommitdiffstats
path: root/main/xf86-input-libinput/APKBUILD
blob: df4c2e1dd27f1587d33d6cf3a1002740236c851b (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-input-libinput
pkgver=0.26.0
pkgrel=0
pkgdesc="X.Org input driver based on libinput"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=""
depends_dev="libinput-dev xorg-server-dev"
makedepends="$depends_dev resourceproto scrnsaverproto eudev-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://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
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="b52a27e916f7e86576500ef2bc3ce640676f5a710543755865a723628c0e01a575989460853bac184ed696961e3f8fca72ecba8ad4625be8cd9e31f9a55f5e97  xf86-input-libinput-0.26.0.tar.bz2"