packages/crun/PKGBUILD
2024-12-23 08:07:12 +01:00

36 lines
1.0 KiB
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: hexchian <i at hexchain dot org>
pkgname=crun
pkgver=1.18.2
pkgrel=1
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 powerpc64le powerpc64 powerpc riscv64)
provides=('oci-runtime')
depends=('yajl' 'systemd-libs' 'libcap' 'libseccomp')
depends_powerpc64le=('criu')
depends_x86_64=('criu')
makedepends=('libtool' 'python' 'go-md2man' 'systemd' 'git')
source=("git+https://github.com/containers/crun.git#tag=$pkgver?signed")
validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA')
sha256sums=('0e536c6b600f55c05b9c7955915832fde5344943bbc32d6910362b64d9d15ca5')
build() {
cd "$pkgname"
./autogen.sh
./configure \
--prefix=/usr \
--enable-shared \
--enable-dynamic \
--with-python-bindings
make
}
package() {
cd "$pkgname"
make DESTDIR="$pkgdir" install
}