# Contributor: Michael Pirogov # Contributor: Leonardo Arena # Maintainer: Leonardo Arena pkgname=libaio pkgver=0.3.113 pkgrel=1 pkgdesc="Asynchronous input/output library" url="https://pagure.io/libaio" arch="all" license="LGPL-2.1-or-later" checkdepends="bash" subpackages="$pkgname-dev $pkgname-doc" source="https://releases.pagure.org/libaio/libaio-$pkgver.tar.gz libaio-cppflags.patch libaio-errno.patch test.patch test-poll.patch " case "$CARCH" in arm*|aarch64) # fail for some reason on builders only options="$options !check" ;; esac build() { make } check() { make partcheck } package() { DESTDIR="$pkgdir" make install cd man find ./ -name "*.3" -exec install -Dm 644 {} "$pkgdir"/usr/share/man/man3/{} \; } sha512sums=" 65c30a102433bf8386581b03fc706d84bd341be249fbdee11a032b237a7b239e8c27413504fef15e2797b1acd67f752526637005889590ecb380e2e120ab0b71 libaio-0.3.113.tar.gz c9ad6ff35ba12f33e308059d89592281768cef7091213b4702b64af2d194462864ec660dea327f8b718e5c723ec9ba6170b591461e2b140ba94f6838cddb8d7c libaio-cppflags.patch 2bf5224f5c5714786cb9ed28d9ae7c1721ad21a498d7e76d0cd1443435f7cd424bd6d80baa961a07f38f20359711b3270cd5913890a47b683e035dfe00f66054 libaio-errno.patch b2bb73b7fe2ae083af8d7a8a6e5fe34830bff007b5dcdb565a440d81178f85862ac5b45b5e9ea061a5624eb4841ef013ed5c0d725e23f329721d4699b3d2cf56 test.patch b8c0fc6eb5c624a58c0110893af44cb1a3b3b047a6498705655854e3e1172fc587520cbe945738689c69d89b39c11c614e039e4850e0bb019e6a78fa1b5a9a85 test-poll.patch "