void-packages/srcpkgs/runc/template
Cameron Nemo 30c712e46b runc: update to 1.0.0-rc9.
Signed-off-by: Cameron Nemo <cnemo@tutanota.com>
2019-10-06 23:07:43 +02:00

26 lines
729 B
Bash

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