blob: f62654b1fbb35e15fc67df319c10f07b10fd66f5 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libevdev
pkgver=1.9.0
pkgrel=0
pkgdesc="Kernel Evdev Device Wrapper Library"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
license="MIT"
options="!check" # Requires CONFIG_INPUT_UINPUT in kernel
makedepends="meson python3 linux-headers doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"
build() {
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=plain \
-Dtests=disabled \
-Ddocumentation=enabled \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a libevdev-1.9.0.tar.xz"
|