aboutsummaryrefslogtreecommitdiffstats
path: root/community/crun/APKBUILD
blob: fb32889e171fb2cb5b1bfe082033db2806706b18 (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
30
31
32
# Contributor: kohnish <kohnish@gmx.com>
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=crun
pkgver=0.21
pkgrel=0
pkgdesc="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="
6fab3e42b18e16ada4f4ccb425f01200bc0959d7aa12f22f77a0f56054fc967501208ec42c54c0120e54fd0aadd7697687fc43eb9d3befa6b5d4e0c6c7f4c8c2  crun-0.21.tar.xz
"