void-packages/srcpkgs/runc/template

27 lines
726 B
Bash

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