summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd6f2afe68a5b279f26aefd44e4e5b69d2867f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Sebastian Gsänger <sebastian_gsaenger@web.de>

pkgname=crun-krun
pkgver=1.19.1
pkgrel=2
pkgdesc="A fully featured OCI runtime and C library for running containers. Enabled krun support for secure/confidential containers in VMs."
url="https://github.com/containers/crun"
license=('LGPL')
arch=('x86_64')
provides=('oci-runtime' 'crun')
conflicts=('crun')
depends=('yajl' 'systemd-libs' 'libcap' 'libseccomp' 'criu' 'libkrun')
makedepends=('libtool' 'python' 'go-md2man' 'systemd' 'git')
source=("git+https://github.com/containers/crun.git#tag=$pkgver")
validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA')
sha256sums=('61ec3eb34cf423eb572c84d5d4144f9c26af0e1c8211139914d923747995cdb2')

build() {
    cd crun
    ./autogen.sh
    ./configure \
        --prefix=/usr \
        --enable-shared \
        --enable-dynamic \
        --with-libkrun \
        --with-python-bindings
    make
}

package() {
    cd crun
    make DESTDIR="$pkgdir" install
}