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

                                                 
            












                                                                          











                                           



                  


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