void-packages/srcpkgs/runc/template
2019-07-21 08:10:28 +02:00

26 lines
729 B
Bash

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