void-packages/srcpkgs/containerd/template

28 lines
709 B
Bash

# Template file for 'containerd'
pkgname=containerd
version=1.0.3
revision=2
build_style=go
go_import_path=github.com/containerd/containerd
hostmakedepends="git"
makedepends="libbtrfs-devel"
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"
checksum=299e3a93eac232c1259fe058e724bfc274741b13b9de96116d1f61619bb2789e
make_dirs="/var/lib/containerd 0755 root root"
do_build() {
cd ${GOSRCPATH}
make
}
do_install() {
vsv containerd
cd ${GOSRCPATH}
make install DESTDIR=${DESTDIR}/usr/
}