void-packages/srcpkgs/containerd/template

28 lines
709 B
Bash
Raw Normal View History

2018-02-12 02:37:59 +01:00
# Template file for 'containerd'
pkgname=containerd
version=1.0.3
2018-05-03 20:49:41 +02:00
revision=2
2018-02-12 02:37:59 +01:00
build_style=go
go_import_path=github.com/containerd/containerd
hostmakedepends="git"
2018-02-12 02:37:59 +01:00
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
2018-02-12 02:37:59 +01:00
make_dirs="/var/lib/containerd 0755 root root"
do_build() {
cd ${GOSRCPATH}
make
}
do_install() {
vsv containerd
cd ${GOSRCPATH}
make install DESTDIR=${DESTDIR}/usr/
}