Name liburing
Description Linux kernel io_uring access library
Version 2.9-r0
Package Base liburing
Homepage https://git.kernel.dk/cgit/liburing/
Maintainers ['Milan P. Stanić <mps@arvanta.net>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/liburing
Sources ['https://github.com/axboe/liburing/archive/refs/tags/liburing-2.9-r0.tar.gz']
Dependencies ['libc.musl-x86_64.so.1']
Optional-Dependencies []
Build-Dependencies ['linux-headers']
Provides ['so:liburing.so.2=2.9']
Builddate 03-03-2025 23:46:41
Architecture x86_64
Distro-Version v3.22
Licenses ['LGPL-2.1-or-later OR MIT']
Hash Q1DKqcwBBZkFYGWgP9pEnxmZcinfI=
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=liburing
pkgver=2.9
pkgrel=0
pkgdesc="Linux kernel io_uring access library"
url="https://git.kernel.dk/cgit/liburing/"
arch="all"
license="LGPL-2.1-or-later OR MIT"
makedepends="linux-headers"
checkdepends="bash procps-ng"
subpackages="$pkgname-ffi $pkgname-dev $pkgname-doc"
source="https://github.com/axboe/liburing/archive/refs/tags/liburing-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
# tests fail on CI
options="!check"

build() {
	./configure \
		--use-libc \
		--mandir=/usr/share/man
	make
}

check() {
	make runtests
}

package() {
	make DESTDIR="$pkgdir" install
}

ffi() {
	amove usr/lib/liburing-ffi.so.*
}

sha512sums="
f27233e6128444175b18cd1d45647acdd27b906a8cd561029508710e443b44416b916cad1b2c1217e23d9a5ffb5ba68b119e9c812eae406650fbd10bf26c2fa5  liburing-2.9.tar.gz
"