diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-12-13 19:20:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-12-13 19:23:03 +0000 |
commit | 327107dd65f1b7d562d96a70470948677a2b51fa (patch) | |
tree | 64e19ba0567f881302d704b3b34dc375f8d98937 | |
parent | 7f5955fb1da4a6b7c87598e73213bd1d0b1b5425 (diff) | |
download | aports-327107dd65f1b7d562d96a70470948677a2b51fa.tar.bz2 aports-327107dd65f1b7d562d96a70470948677a2b51fa.tar.xz |
testing/containerd: new aport
An open and reliable container runtime
https://containerd.io/
-rw-r--r-- | testing/containerd/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/containerd/APKBUILD b/testing/containerd/APKBUILD new file mode 100644 index 0000000000..da62d66f1b --- /dev/null +++ b/testing/containerd/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=containerd +pkgver=1.0.0 +pkgrel=0 +pkgdesc="An open and reliable container runtime" +url="https://containerd.io/" +arch="all" +license="ASL 2.0" +depends="" +makedepends="go linux-headers btrfs-progs-dev protobuf-dev" +options="!check" +subpackages="" +source="containerd-$pkgver.tar.gz::https://github.com/containerd/containerd/archive/v$pkgver.tar.gz + " + +builddir="$srcdir"/containerd-$pkgver + +build() { +# export AUTO_GOPATH=1 + cd "$builddir" + mkdir src + mv vendor/* src + ln -s "$builddir" src/github.com/containerd/containerd + GOPATH="$PWD" LDFLAGS="" make GIT_COMMIT="v$pkgver" +} + +package() { + cd "$builddir" + + install -d "$pkgdir"/usr/bin/ + install -m755 "$builddir"/bin/* "$pkgdir"/usr/bin/ +} + +sha512sums="8c1a03de7f30976675e4482b4f18f4b87da56108de4d92f2e33b4cb4f8c188af5b3fad87971a294eac8442a0fb6ddae48cda81334c363203a8c8bdfc09176a7a containerd-1.0.0.tar.gz" |