[arch-commits] Commit in liburing/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Jun 26 20:11:40 UTC 2022
Date: Sunday, June 26, 2022 @ 20:11:39
Author: dvzrv
Revision: 449447
upgpkg: liburing 2.2-1: Upgrade to 2.2.
Remove unnecessary quotes and curly braces.
Build from pinned commit instead of signed tag (as it could be moved).
Add debug package.
Modified:
liburing/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-26 19:22:40 UTC (rev 449446)
+++ PKGBUILD 2022-06-26 20:11:39 UTC (rev 449447)
@@ -2,28 +2,29 @@
# Contributor: Filipe Laíns (FFY00) <lains at archlinux.org>
pkgname=liburing
-pkgver=2.1
+pkgver=2.2
+_commit=dda4848a9911120a903bef6284fb88286f4464c9 # refs/tags/liburing-2.2^{}
pkgrel=1
pkgdesc="Linux-native io_uring I/O access library"
-arch=('x86_64')
+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")
+license=(LGPL2.1 MIT)
+depends=(glibc)
+makedepends=(git)
+provides=(liburing.so)
+options=(debug)
+source=(git+https://git.kernel.dk/liburing#commit=$_commit)
sha512sums=('SKIP')
-validpgpkeys=('C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6') # Jens Axboe <axboe at kernel.dk>
build() {
- cd "$pkgname"
- ./configure --prefix='/usr' \
- --mandir='/usr/share/man'
+ cd $pkgname
+ ./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"
+ make DESTDIR="$pkgdir" install -C $pkgname
+ install -vDm 644 $pkgname/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
More information about the arch-commits
mailing list