void-packages/srcpkgs/runc/template
2020-01-24 11:32:54 +01:00

26 lines
730 B
Bash

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