contrib/containerd/Pkgfile

22 lines
576 B
Plaintext
Raw Normal View History

# Description: A daemon to control runC
2017-10-09 18:14:39 +02:00
# URL: https://containerd.io/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: go
name=containerd
2017-10-09 18:14:39 +02:00
version=06b9cb3
2017-04-12 22:29:41 +02:00
release=1
2017-02-18 02:03:53 +01:00
source=(http://jaeger.morpheus.net/linux/crux/files/$name-$version.tar.xz)
build() {
2017-10-09 18:14:39 +02:00
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
2017-10-09 18:14:39 +02:00
make GIT_COMMIT=06b9cb35161009dcb7123345749fef02f7cea8e0
install -d -m 0755 $PKG/usr/bin
install -m 0755 bin/* $PKG/usr/bin/
}