Files
horizon-packages/srcpkgs/runc/template
T
2026-08-04 19:41:14 +02:00

33 lines
1.0 KiB
Bash

# Template file for 'runc'
pkgname=runc
version=1.5.1
revision=1
build_style=go
go_import_path=github.com/opencontainers/runc
go_build_tags="seccomp apparmor"
go_ldflags="-X main.version=${version}"
make_check_args="-skip=(^TestValidateSysctlWithBindHostNetNS$|^TestNsenterValidPaths$|^TestNsenterChildLogging$|^TestFactoryLoadContainer$)"
hostmakedepends="pkg-config go-md2man"
makedepends="libseccomp-devel"
checkdepends="curl tar xz"
short_desc="CLI tool for spawning and running OCI containers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/opencontainers/runc"
changelog="https://github.com/opencontainers/runc/raw/main/CHANGELOG.md"
distfiles="https://github.com/opencontainers/runc/releases/download/v${version}/runc-${version}.tar.xz"
checksum=db743b39fd7de8da88adce5a61a54529a494928cd59227fffb622f5cb4ba6ef9
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}
pre_check() {
# Skip integration tests
make_check_target=$(go list ./... | grep -v /integration)
}