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

Morten Linderud foxboron at gemini.archlinux.org
Tue Jan 18 21:12:19 UTC 2022


    Date: Tuesday, January 18, 2022 @ 21:12:19
  Author: foxboron
Revision: 1110194

upgpkg: crun 1.4.1-1

Modified:
  crun/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-18 20:47:43 UTC (rev 1110193)
+++ PKGBUILD	2022-01-18 21:12:19 UTC (rev 1110194)
@@ -2,7 +2,7 @@
 # Contributor: hexchian <i at hexchain dot org>
 
 pkgname=crun
-pkgver=1.4
+pkgver=1.4.1
 pkgrel=1
 pkgdesc="A fast and lightweight fully featured OCI runtime and C library for running containers"
 url="https://github.com/containers/crun"
@@ -10,16 +10,24 @@
 arch=('x86_64')
 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}
+        "patch-python-build.patch::https://github.com/containers/crun/commit/2f5be742a283b890925ae7070fe8bfa0e4d00f5d.patch")
 validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA')
-sha256sums=('2710d9a97cec550765a15a7ca31d377f266a95c1ffcf990214df1c03306a7b77'
-            'SKIP')
+sha256sums=('8e1035c209a22a8784acd6b7b880f9c988ad0b9358f3d05e745412966e2ce546'
+            'SKIP'
+            'ba4acfd84ed926b0a21e8cf40a74cc020a4bdbd4cdc569cc3be242db22a1e7ca')
 
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    patch -Np1 < "$srcdir/patch-python-build.patch"
+}
+
 build() {
     cd "$pkgname-$pkgver"
     ./autogen.sh
     ./configure \
         --prefix=/usr \
+        --enable-shared \
         --enable-dynamic \
         --with-python-bindings
     make



More information about the arch-commits mailing list