void-packages/srcpkgs/runc/template
Cameron Nemo 54991a1482 runc: update to 1.0.0-rc6
runc: enable apparmor support

runc: build and install manpages
2018-12-11 16:49:54 -02:00

26 lines
728 B
Bash

# Template file for 'runc'
pkgname=runc
version=1.0.0
revision=7
_subver="rc6"
_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="Paul Knopf <pauldotknopf@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/opencontainers/runc"
distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz"
checksum=8c8ddc5c62b8d6b0dac197a09ea1680dc2cec38e4c5c8ca09c5483839b18e8b0
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}