archrelease: copy trunk to extra-x86_64
[arch-packages.git] / liburing / repos / extra-x86_64 / PKGBUILD
blob2eefe04678f851f9b11eb5d37f52a0b785247b41
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 options=(debug)
16 source=(git+https://git.kernel.dk/liburing#tag=$_commit?signed)
17 sha512sums=('SKIP')
18 validpgpkeys=(C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6)  # Jens Axboe <axboe@kernel.dk>
20 build() {
21   cd $pkgname
22   ./configure \
23     --prefix=/usr \
24     --mandir=/usr/share/man
25   make
28 package() {
29   make DESTDIR="$pkgdir" install -C $pkgname
30   install -vDm 644 $pkgname/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"