summaryrefslogtreecommitdiff
path: root/user/libevdev/APKBUILD
blob: 281501cc0300cd88f976850520792435294e6146 (plain) (blame)
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
33
34
35
36
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libevdev
pkgver=1.9.0
pkgrel=0
pkgdesc="Wrapper library for kernel event devices"
url="https://www.freedesktop.org/wiki/Software/libevdev"
arch="all"
options="!check"  # Requires CONFIG_INPUT_UINPUT in kernel
license="MIT"
depends=""
makedepends="doxygen linux-headers python3"
checkdepends="check-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a  libevdev-1.9.0.tar.xz"