[arch-commits] Commit in liburing/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Sep 23 18:29:32 UTC 2020


    Date: Wednesday, September 23, 2020 @ 18:29:32
  Author: dvzrv
Revision: 396440

upgpkg: liburing 0.7-2: Rebuild to add soprovides.

Add liburing.so to provides.
Add glibc to depends.
Update maintainer info.
Minor fixes and cleanups.

Modified:
  liburing/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-23 18:09:59 UTC (rev 396439)
+++ PKGBUILD	2020-09-23 18:29:32 UTC (rev 396440)
@@ -1,31 +1,29 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Filipe Laíns (FFY00) <lains at archlinux.org>
 
 pkgname=liburing
 pkgver=0.7
-pkgrel=1
-pkgdesc='Linux-native io_uring I/O access library'
+pkgrel=2
+pkgdesc="Linux-native io_uring I/O access library"
 arch=('x86_64')
-url='https://git.kernel.dk/cgit/liburing/'
-license=('MIT' 'LGPL2.1')
+url="https://git.kernel.dk/cgit/liburing/"
+license=('LGPL2.1' 'MIT')
+depends=('glibc')
 makedepends=('git')
-validpgpkeys=('C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6') # Jens Axboe <axboe at kernel.dk>
+provides=('liburing.so')
 source=("git+https://git.kernel.dk/liburing#tag=liburing-$pkgver?signed")
 sha512sums=('SKIP')
+validpgpkeys=('C0FC392DCADE26D975FA5E4AF7D358FB2971E0A6') # Jens Axboe <axboe at kernel.dk>
 
 build() {
-  cd $pkgname
-
-  ./configure \
-    --mandir=/usr/share/man
-
+  cd "$pkgname"
+  ./configure --prefix='/usr' \
+              --mandir='/usr/share/man'
   make
 }
 
 package() {
-  cd $pkgname
-
+  cd "$pkgname"
   make DESTDIR="$pkgdir" install
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }
-


More information about the arch-commits mailing list