void-packages/srcpkgs/containerd/template

38 lines
1.2 KiB
Bash
Raw Normal View History

2018-02-12 02:37:59 +01:00
# Template file for 'containerd'
pkgname=containerd
2018-09-26 18:05:10 +02:00
version=1.1.4
revision=1
2018-02-12 02:37:59 +01:00
build_style=go
go_import_path=github.com/containerd/containerd
2018-08-25 04:49:36 +02:00
go_package="${go_import_path}/cmd/containerd
${go_import_path}/cmd/containerd-release
${go_import_path}/cmd/containerd-shim
${go_import_path}/cmd/ctr"
2018-09-26 18:05:10 +02:00
go_ldflags="-X ${go_import_path}/version.Version=${version} -X ${go_import_path}/version.Revision=UNSET"
2018-08-25 04:49:36 +02:00
go_build_tags="seccomp apparmor"
hostmakedepends="pkg-config go-md2man"
2018-04-24 09:04:07 +02:00
makedepends="libbtrfs-devel libseccomp-devel"
2018-02-12 02:37:59 +01:00
depends="runc"
short_desc="An open and reliable container runtime"
maintainer="Paul Knopf <pauldotknopf@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/containerd/containerd"
distfiles="https://github.com/containerd/containerd/archive/v${version}.tar.gz"
2018-09-26 18:05:10 +02:00
checksum=7482bf738cf4ec3712c7719006b4b7874f5e35f076d15efc8f10e03fa35bedaf
2018-02-12 02:37:59 +01:00
make_dirs="/var/lib/containerd 0755 root root"
2018-08-25 04:49:36 +02:00
post_build() {
# Build the man pages
for _i in ctr.1 containerd.1 config.toml.5 containerd-config.1 ; do
go-md2man -in "docs/man/$_i.md" -out "docs/man/$_i"
done
2018-02-12 02:37:59 +01:00
}
2018-08-25 04:49:36 +02:00
post_install() {
2018-02-12 02:37:59 +01:00
vsv containerd
2018-08-25 04:49:36 +02:00
for _i in ctr.1 containerd.1 config.toml.5 containerd-config.1 ; do
vman docs/man/$_i
done
2018-02-12 02:37:59 +01:00
}