aboutsummaryrefslogtreecommitdiffstats
path: root/community/crun/APKBUILD
blob: c1a041f897f6bf898d829f485e66b331addbc4f4 (plain) (blame)
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
# Contributor: kohnish <kohnish@gmx.com>
# Maintainer: kohnish <kohnish@gmx.com>
pkgname=crun
pkgver=0.15.1
pkgrel=0
pkgdesc="A fast and lightweight fully featured OCI runtime and C library for running containers"
url="https://github.com/containers/crun"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="libcap-dev libseccomp-dev yajl-dev argp-standalone python3 go-md2man"
subpackages="$pkgname-doc $pkgname-static"
source="https://github.com/containers/crun/releases/download/$pkgver/crun-$pkgver.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--disable-systemd
	make
}

check() {
	make tests/tests_libcrun_errors.log
}

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

sha512sums="7f2df8caef8d5792093683b74640cd636ee3d74a764f430ac822e5ab1b95a3b910e83c4cbaaeedad9006fe243ebdc536322269b2987aebcab963c0cc3a8e9a93  crun-0.15.1.tar.xz"