contrib/containerd/Pkgfile

21 lines
597 B
Plaintext

# Description: A daemon to control runC
# URL: https://containerd.tools/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: go
name=containerd
version=9048e5e
release=1
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz)
build() {
mkdir -p src/github.com/docker
ln -sf $SRC/$name-$version src/github.com/docker/$name
cd src/github.com/docker/$name
export GOPATH=$SRC
# use the long commit hash here
make GIT_COMMIT=9048e5e50717ea4497b757314bad98ea3763c145
install -d -m 0755 $PKG/usr/bin
install -m 0755 bin/* $PKG/usr/bin/
}