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

                                                 
            












                                                                          











                                           



                  


                                      
                                                                                                                                                                    
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libevdev
pkgver=1.7.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="bc43723fd1ca251a77ee549022609f73c15a33ae470fc843ac687542fb1938fba4d046d3ee1dc814bc38a4292a7f2ad9e71fcce45525b518a4f4a5bef099aa6f  libevdev-1.7.0.tar.xz"