23 lines
661 B
Plaintext
23 lines
661 B
Plaintext
# Description: A daemon to control runC
|
|
# URL: https://containerd.io/
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
# Depends on: go btrfs-progs git libseccomp
|
|
|
|
name=containerd
|
|
version=1.7.20
|
|
release=1
|
|
source=(https://github.com/containerd/containerd/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
export GO111MODULE=auto
|
|
mkdir -p src/github.com/$name
|
|
cd src/github.com/$name
|
|
ln -s $SRC/$name-$version $name
|
|
cd $name
|
|
export GOPATH=$SRC
|
|
# use the long commit hash here
|
|
make VERSION=v$version REVISION=8fc6bcff51318944179630522a095cc9dbf9f353
|
|
install -d -m 0755 $PKG/usr/bin
|
|
install -m 0755 bin/* $PKG/usr/bin/
|
|
}
|