[arch-commits] Commit in containerd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Sun Dec 10 16:00:32 UTC 2017
Date: Sunday, December 10, 2017 @ 16:00:31
Author: seblu
Revision: 273594
archrelease: copy trunk to community-x86_64
Added:
containerd/repos/community-x86_64/PKGBUILD
(from rev 273593, containerd/trunk/PKGBUILD)
Deleted:
containerd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 37 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-10 16:00:21 UTC (rev 273593)
+++ PKGBUILD 2017-12-10 16:00:31 UTC (rev 273594)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-# Contributor: Iwan Timmer <irtimmer at gmail.com>
-
-pkgname=containerd
-pkgver=0.2.9
-pkgrel=2
-pkgdesc='An open and reliable container runtime'
-url='https://containerd.io/'
-depends=('glibc' 'runc')
-makedepends=('go-pie' 'git')
-arch=('x86_64')
-source=("containerd.io::git+https://github.com/containerd/containerd.git#tag=v$pkgver")
-license=("APACHE")
-md5sums=('SKIP')
-
-build() {
- export GOPATH="$srcdir"
- mkdir -p src/github.com/containerd
- ln -rTsf containerd.io src/github.com/containerd/containerd
- cd src/github.com/containerd/containerd
- LDFLAGS= make
-}
-
-package() {
- cd src/github.com/containerd/containerd/bin
- for _file in *; do
- install -Dm755 "$_file" "$pkgdir/usr/bin/$_file"
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: containerd/repos/community-x86_64/PKGBUILD (from rev 273593, containerd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-10 16:00:31 UTC (rev 273594)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+
+pkgname=containerd
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='An open and reliable container runtime'
+url='https://containerd.io/'
+depends=('glibc' 'runc')
+makedepends=('go-pie' 'git' 'btrfs-progs')
+arch=('x86_64')
+source=("containerd²::git+https://github.com/containerd/containerd.git#tag=v$pkgver")
+license=("APACHE")
+md5sums=('SKIP')
+
+prepare() {
+ mkdir -p src/github.com/containerd
+ ln -rTsf containerd² src/github.com/containerd/containerd
+ # fix paths in service
+ sed -i 's,/sbin,/usr/bin,;s,/usr/local,/usr,' containerd²/containerd.service
+}
+
+build() {
+ export GOPATH="$srcdir"
+ cd src/github.com/containerd/containerd
+ make
+}
+
+package() {
+ export GOPATH="$srcdir"
+ cd src/github.com/containerd/containerd
+ make install DESTDIR="$pkgdir/usr"
+ install -Dm644 containerd.service "$pkgdir"/usr/lib/systemd/containerd.service
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list