Files
void-packages/srcpkgs/runc/template
2023-03-30 18:38:01 +02:00

25 lines
704 B
Bash

# Template file for 'runc'
pkgname=runc
version=1.1.5
revision=1
build_style=go
go_import_path=github.com/opencontainers/runc
go_build_tags="seccomp apparmor"
go_ldflags="-X main.version=${version}"
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${version}/runc.tar.xz"
checksum=bed3a10df91a161dea38115a955b9b68f9130d8ea24071b12cdf657929d9cfb4
post_build() {
make man
}
post_install() {
make install-man PREFIX="${DESTDIR}/usr"
}