void-packages/srcpkgs/runc/template

27 lines
726 B
Bash

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