summaryrefslogblamecommitdiff
path: root/user/libevdev/APKBUILD
blob: 8e9083d17e98ae0ef00374321b6c98f7fa7fb59c (plain) (tree)
1
2
3
                                                 
            











                                                                          










                                           


                  

                                      
                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libevdev
pkgver=1.8.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="8d285632f4fe87c01e81f94e514bec4e37fed4bc44d6d38b9297dba1114e42f6ed8d143fc05f3d0e8d51b08b659e34481dc4c65f60421c54e2f3e11efbafdeb4  libevdev-1.8.0.tar.xz"