diff options
Diffstat (limited to 'main/libevdev')
-rw-r--r-- | main/libevdev/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/main/libevdev/APKBUILD b/main/libevdev/APKBUILD index 5c62f2b63a..9074e5d051 100644 --- a/main/libevdev/APKBUILD +++ b/main/libevdev/APKBUILD @@ -1,13 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libevdev pkgver=1.5.7 -pkgrel=0 +pkgrel=1 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 depends="" -makedepends="python2 linux-headers" +makedepends="python3 linux-headers" +checkdepends="check-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" @@ -21,14 +23,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="53adf6c92ec61f0635b643a88d8762a18f7cd3088d23ac95831be32cc7150ebd19f20265b90f6a1f9a63420c2f8968c2d17d8dc4892c0e90f9dfcce82c622df1 libevdev-1.5.7.tar.xz" |