aboutsummaryrefslogtreecommitdiffstats
path: root/main/libinput/APKBUILD
blob: 9a8c8b031d3a35680fe21db982b83f0127ced30a (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
pkgname=libinput
pkgver=1.10.3
pkgrel=0
pkgdesc="Library for handling input devices"
url="http://www.freedesktop.org/wiki/Software/libinput"
arch="all"
license="MIT"
makedepends="mtdev-dev eudev-dev libevdev-dev meson"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
options="!check"
source="http://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	meson --prefix=/usr \
		-Ddocumentation=false \
		-Dlibwacom=false \
		-Ddebug-gui=false \
		-Dtests=false builddir/
	ninja -C builddir/
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C builddir/ install
}

sha512sums="4c73673e138a7aff9d6f2d189b8afdfb51c868eca0487c8c487ffd3bb48849994a9095fbd4c5c725ee17fafc2a85298106e0cc7b59b4a8cd13ec28f65d15c01d  libinput-1.10.3.tar.xz"