mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added extra/liburing
This commit is contained in:
parent
52bfc8455f
commit
f780b88573
1 changed files with 33 additions and 0 deletions
33
extra/liburing/PKGBUILD
Normal file
33
extra/liburing/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: David Runge <dvzrv@archlinux.org>
|
||||
# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - don't build tests, unsupported syscall on 32-bit ARM
|
||||
|
||||
pkgname=liburing
|
||||
pkgver=2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Linux-native io_uring I/O access library"
|
||||
arch=('x86_64')
|
||||
url="https://git.kernel.dk/cgit/liburing/"
|
||||
license=('LGPL2.1' 'MIT')
|
||||
depends=('glibc')
|
||||
makedepends=('git')
|
||||
provides=('liburing.so')
|
||||
source=("git+https://git.kernel.dk/liburing#tag=liburing-$pkgver?signed")
|
||||
sha512sums=('SKIP')
|
||||
validpgpkeys=('C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6') # Jens Axboe <axboe@kernel.dk>
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
sed -i '/-C test$/d' Makefile
|
||||
./configure --prefix='/usr' \
|
||||
--mandir='/usr/share/man'
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
Loading…
Reference in a new issue