void-packages/srcpkgs/containerd/template

28 lines
737 B
Bash

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