void-packages/srcpkgs/runc/template

27 lines
726 B
Bash

# Template file for 'runc'
pkgname=runc
version=1.0.0
revision=14
_subver="rc92"
_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=2f76b623b550588db98e2be72e74aae426f5d4cf736bd92afb91dd5586816daf
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}