archrelease: copy trunk to staging-x86_64
[arch-packages.git] / liburing / trunk / PKGBUILD
blob37e73e3cc2f7caab589c1021661c09bdbafc358d
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
4 pkgname=liburing
5 pkgver=2.3
6 _commit=b3d94289ca64449a5018986d0b3baddcb78d7799  # refs/tags/liburing-2.3
7 pkgrel=1
8 pkgdesc="Linux-native io_uring I/O access library"
9 arch=(x86_64)
10 url="https://git.kernel.dk/cgit/liburing/"
11 license=(LGPL2.1 MIT)
12 depends=(glibc)
13 makedepends=(git)
14 provides=(liburing.so)
15 source=(git+https://git.kernel.dk/liburing#tag=$_commit?signed)
16 sha512sums=('SKIP')
17 validpgpkeys=(C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6)  # Jens Axboe <axboe@kernel.dk>
19 build() {
20   cd $pkgname
21   ./configure \
22     --prefix=/usr \
23     --mandir=/usr/share/man
24   make
27 package() {
28   make DESTDIR="$pkgdir" install -C $pkgname
29   install -vDm 644 $pkgname/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"