summaryrefslogtreecommitdiff
path: root/user/xinput/APKBUILD
blob: 8e5dde9830a5b21eaa743dc86865ae03d8baf621 (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
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xinput
pkgver=1.6.3
pkgrel=0
pkgdesc="Utility to configure and test XInput devices"
url="https://www.X.Org/"
arch="all"
options="!check"  # No test suite.
license="X11"
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.bz2"

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

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

sha512sums="cb2fef866ac5a71dbca3e23b4ecadaca38e65dc1b30f8bb024bad92486554fafc472706619a1af04c746a4f53ce6aea827d694b9f4f0c7d0d46bb1da81984076  xinput-1.6.3.tar.bz2"