void-packages/srcpkgs/containerd/template

28 lines
737 B
Bash

# Template file for 'containerd'
pkgname=containerd
version=1.1.0
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=08f057ece7e518b14cce2e9737228a5a899a7b58b78248a03e02f4a6c079eeaf
make_dirs="/var/lib/containerd 0755 root root"
do_build() {
cd ${GOSRCPATH}
make
}
do_install() {
vsv containerd
cd ${GOSRCPATH}
make install DESTDIR=${DESTDIR}/usr/
}