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

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="61f19ea777b523f0e76869b8e7dbbff5e51132d3c856c6edb9915a695f7903256228e71be2567642866923a800f1283bdd5aff97266ac26c2e42dfce0bffa50b  libinput-1.10.5.tar.xz"