void-packages/srcpkgs/runc/template
Cameron Nemo 6a69d00b98 runc: update to 1.0.0-rc95
Fixes CVE-2021-30465
2021-06-21 08:50:59 -03:00

26 lines
726 B
Bash

# Template file for 'runc'
pkgname=runc
version=1.0.0
revision=17
_subver="rc95"
_ver="$version-$_subver"
wrksrc="$pkgname-$_ver"
build_style=go
go_import_path=github.com/opencontainers/runc
go_build_tags="seccomp apparmor"
hostmakedepends="pkg-config go-md2man"
makedepends="libseccomp-devel"
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"
distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz"
checksum=8304b161e1c0ec2cee969b25671a147cd56cb99e6aa534371b2cfb3ec13db2c4
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}