void-packages/srcpkgs/runc/template

24 lines
665 B
Bash

# Template file for 'runc'
pkgname=runc
version=1.0.0
revision=18
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${version}/runc.tar.xz"
checksum=ccdf1ac45cb1bb36eb1810457c6b1a513666958d83a96e01fff6085ba179c9f1
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}