PKGBUILDs/community/containerd/PKGBUILD

36 lines
849 B
Bash
Raw Normal View History

2016-04-27 02:03:18 +00:00
# $Id$
# Maintainer: Sébastien "Seblu" Luttringer
# Contributor: Iwan Timmer <irtimmer@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - x86_64 import, no modifications
pkgname=containerd
2016-12-31 19:29:29 +00:00
pkgver=0.2.5
2016-04-27 02:03:18 +00:00
pkgrel=1
pkgdesc='A daemon to control runC, built for performance and density'
url='https://containerd.tools/'
depends=('glibc' 'runc')
makedepends=('go' 'git')
arch=('x86_64')
source=("git+https://github.com/docker/containerd.git#tag=v$pkgver")
license=("APACHE")
md5sums=('SKIP')
build() {
export GOPATH="$srcdir"
mkdir -p src/github.com/docker
ln -rsf containerd src/github.com/docker
cd src/github.com/docker/containerd
LDFLAGS= make
}
package() {
cd src/github.com/docker/containerd/bin
for file in $(find . -type f -print); do
install -Dm755 $file $pkgdir/usr/bin/$file
done
}
# vim:set ts=2 sw=2 et: