APKBUILD 853 Bytes
Newer Older
Dan Theisen's avatar
Dan Theisen committed
1
2
3
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xinput
A. Wilcox's avatar
A. Wilcox committed
4
pkgver=1.6.3
Dan Theisen's avatar
Dan Theisen committed
5
6
pkgrel=0
pkgdesc="Utility to configure and test XInput devices"
A. Wilcox's avatar
A. Wilcox committed
7
url="https://www.X.Org/"
Dan Theisen's avatar
Dan Theisen committed
8
9
10
arch="all"
options="!check"  # No test suite.
license="X11"
11
depends=""
Dan Theisen's avatar
Dan Theisen committed
12
13
14
makedepends="util-macros libx11-dev libxext-dev libxi-dev libxrandr-dev
	libxinerama-dev"
subpackages="$pkgname-doc"
A. Wilcox's avatar
A. Wilcox committed
15
source="https://www.X.Org/archive/individual/app/$pkgname-$pkgver.tar.bz2"
Dan Theisen's avatar
Dan Theisen committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

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

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

A. Wilcox's avatar
A. Wilcox committed
32
sha512sums="cb2fef866ac5a71dbca3e23b4ecadaca38e65dc1b30f8bb024bad92486554fafc472706619a1af04c746a4f53ce6aea827d694b9f4f0c7d0d46bb1da81984076  xinput-1.6.3.tar.bz2"