summaryrefslogtreecommitdiff
path: root/user/xinput/APKBUILD
blob: a22c54024255ac9ffe621e6767ced2580b448f6f (plain) (blame)
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
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xinput
pkgver=1.6.4
pkgrel=0
pkgdesc="Utility to configure and test XInput devices"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="X11"
depends=""
makedepends="util-macros libx11-dev libxext-dev libxi-dev libxrandr-dev
	libxinerama-dev"
subpackages="$pkgname-doc"
source="https://www.X.Org/archive/individual/app/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

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

sha512sums="6734860852715e5cb9d26259a173e42413fc037546ed7fa4173ffa802c2619ee0322bed228a28cd1911be759d860070867d9b89b115f37323cca1c9ef75354b9  xinput-1.6.4.tar.xz"