void-packages/srcpkgs/containerd/template
maxice8 c467cc31f0
containerd: update to 1.0.3.
Closes: #13186 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-23 09:04:58 +02:00

27 lines
709 B
Bash

# Template file for 'containerd'
pkgname=containerd
version=1.0.3
revision=1
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/
}