summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f293d34357ae13f33e2f0beb2c4b1a4a3f0392d2 (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
34
35
# Maintainer: Patrick Reader <aur@pxeger.com>

# from https://github.com/archlinux/svntogit-community/blob/packages/crun/trunk/PKGBUILD:
# Contributor: Morten Linderud <foxboron@archlinux.org>
# Contributor: hexchian <i at hexchain dot org>

pkgname=crun-python-bindings
pkgver=1.2
pkgrel=1
pkgdesc="A fast and lightweight fully featured OCI runtime and C library for running containers, including Python bindings"
url="https://github.com/containers/crun"
license=('LGPL')
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})
validpgpkeys=('AC404C1C0BF735C63FF4D562263D6DF2E163E1EA')
sha256sums=('ff159878668b71e5aa0c7ed00f1ed665be81c5ba925bf8ea80ccfab7620975f3'
            'SKIP')

build() {
    cd "$pkgname-$pkgver"
    ./autogen.sh
    ./configure \
        --prefix=/usr \
        --enable-dynamic \
        --enable-shared \
        --with-python-bindings
    make
}

package() {
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}