void-packages/srcpkgs/runc/template
2020-06-23 18:59:41 +02:00

26 lines
726 B
Bash

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