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

Morten Linderud foxboron at gemini.archlinux.org
Tue Aug 23 18:25:59 UTC 2022


    Date: Tuesday, August 23, 2022 @ 18:25:58
  Author: foxboron
Revision: 1275786

upgpkg: crun 1.5-2: FS#71657 - support oci-runtime

Modified:
  crun/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-23 18:25:55 UTC (rev 1275785)
+++ PKGBUILD	2022-08-23 18:25:58 UTC (rev 1275786)
@@ -3,18 +3,26 @@
 
 pkgname=crun
 pkgver=1.5
-pkgrel=1
+pkgrel=2
 pkgdesc="A fast and lightweight fully featured OCI runtime and C library for running containers"
 url="https://github.com/containers/crun"
 license=('LGPL')
 arch=('x86_64')
+provides=('oci-runtime')
 depends=('yajl' 'systemd-libs' 'libcap' 'libseccomp' 'criu')
 makedepends=('libtool' 'python' 'go-md2man' 'systemd' 'git')
-source=("https://github.com/containers/crun/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc})
+source=("https://github.com/containers/crun/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
+        "fix-build.patch::https://patch-diff.githubusercontent.com/raw/containers/crun/pull/972.patch")
 validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA')
 sha256sums=('8e7e1636adb3cc12d45cdf4ddfd0503604950d0d2868a0bfa9666b90d0a8d9d7'
-            'SKIP')
+            'SKIP'
+            'be5900732792eecd0e9a522a2f1e8c66870d4cbce406e16c257e700b895a3b1d')
 
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 < "$srcdir/fix-build.patch"
+}
+
 build() {
     cd "$pkgname-$pkgver"
     ./autogen.sh



More information about the arch-commits mailing list