[arch-commits] Commit in runc/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Mar 18 13:17:20 UTC 2018


    Date: Sunday, March 18, 2018 @ 13:17:15
  Author: bpiotrowski
Revision: 309044

archrelease: copy trunk to community-testing-x86_64

Added:
  runc/repos/community-testing-x86_64/
  runc/repos/community-testing-x86_64/PKGBUILD
    (from rev 309043, runc/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: runc/repos/community-testing-x86_64/PKGBUILD (from rev 309043, runc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-03-18 13:17:15 UTC (rev 309044)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=1.0.0rc5+19+g69663f0b
+pkgrel=1
+pkgdesc='CLI tool for managing OCI compliant containers'
+arch=(x86_64)
+url='https://runc.io/'
+license=(Apache)
+depends=(glibc libseccomp)
+makedepends=(git go-pie go-md2man)
+_commit=69663f0bd4b60df09991c08812a60108003fa340  # master
+source=(git+https://github.com/opencontainers/runc.git#commit=$_commit)
+md5sums=('SKIP')
+
+pkgver() {
+  cd runc
+  git describe | sed 's/^v//;s/-//;s/-/+/g'
+}
+
+prepare() {
+  mkdir -p src/github.com/opencontainers
+  cp -r runc src/github.com/opencontainers/
+}
+
+build() {
+  cd src/github.com/opencontainers/runc
+  GOPATH="$srcdir" BUILDTAGS='seccomp' make runc man
+}
+
+package() {
+  cd src/github.com/opencontainers/runc
+
+  install -Dm755 runc "$pkgdir/usr/bin/runc"
+  install -Dm644 contrib/completions/bash/runc \
+    "$pkgdir/usr/share/bash-completion/completions/runc"
+  
+  install -d "$pkgdir/usr/share/man/man8"
+  install -m644 man/man8/*.8 "$pkgdir/usr/share/man/man8"
+}



More information about the arch-commits mailing list