summaryrefslogblamecommitdiff
path: root/user/xinput/APKBUILD
blob: 2cb5822fe76f05398d57af4ee339fdd458fe66cd (plain) (tree)
































                                                                                                                                                                   
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xinput
pkgver=1.6.2
pkgrel=0
pkgdesc="Utility to configure and test XInput devices"
url="http://xorg.freedesktop.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="http://www.x.org/archive/individual/app/$pkgname-$pkgver.tar.bz2"

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

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

sha512sums="dbef3a87dd47bb8c593f1305bea7978697a12434a4992584e4124d745bb366812366b44fc205159137a3db6f7b8338effd1b90641a194497b19159b9fd91939e  xinput-1.6.2.tar.bz2"