2018-07-11 11:08:00 -03:00

28 lines
737 B
Bash

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