aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xf86-input-libinput/APKBUILD
blob: c57f9cd72fb35a1ef339526deddd536df00e2ea6 (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.16.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="2c8cb520f88da7bafaceebc0b34ea1d4  xf86-input-libinput-0.16.0.tar.bz2"
sha256sums="fdade531e91e79acf6dce8ac55fa4f65abe3f1358c5d3d777ae48dbc74b76f49  xf86-input-libinput-0.16.0.tar.bz2"
sha512sums="6b1243a29d94e6b26e92da04ce9d308d0957c46fcacb16711f5037f351bb48e9e80070a7e8d4f7e934698d4b394df982c81df489a8bb8b8f6021e2c99c0b0c19  xf86-input-libinput-0.16.0.tar.bz2"