[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2019-08-15 Thread Felix Yan via arch-commits
Date: Friday, August 16, 2019 @ 04:47:56
  Author: felixonmars
Revision: 499687

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 499686, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   92 ++---
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-16 04:47:47 UTC (rev 499686)
+++ PKGBUILD2019-08-16 04:47:56 UTC (rev 499687)
@@ -1,46 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=1.0.0rc8
-pkgrel=1
-pkgdesc='CLI tool for managing OCI compliant containers'
-arch=(x86_64)
-url='https://runc.io/'
-license=(Apache)
-depends=(libseccomp)
-makedepends=(git go-pie go-md2man)
-_commit=425e105d5a03fabd737a126ad93d62a9eeede87f  # tags/v1.0.0-rc8^0
-source=("git+https://github.com/opencontainers/runc.git#commit=$_commit?signed;)
-validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4")
-sha256sums=('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
-  export EXTRA_FLAGS="-gcflags all=-trimpath=${PWD} -asmflags 
all=-trimpath=${PWD}"
-  export GOPATH="$srcdir"
-  export EXTRA_LDFLAGS="-extldflags ${LDFLAGS}"
-  export 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"
-}

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 499686, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-08-16 04:47:56 UTC (rev 499687)
@@ -0,0 +1,46 @@
+# Maintainer: Morten Linderud 
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=1.0.0rc8
+pkgrel=2
+pkgdesc='CLI tool for managing OCI compliant containers'
+arch=(x86_64)
+url='https://runc.io/'
+license=(Apache)
+depends=(libseccomp)
+makedepends=(git go-pie go-md2man)
+_commit=425e105d5a03fabd737a126ad93d62a9eeede87f  # tags/v1.0.0-rc8^0
+source=("git+https://github.com/opencontainers/runc.git#commit=$_commit?signed;)
+validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4")
+sha256sums=('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
+  export EXTRA_FLAGS="-gcflags all=-trimpath=${PWD} -asmflags 
all=-trimpath=${PWD}"
+  export GOPATH="$srcdir"
+  export EXTRA_LDFLAGS="-extldflags ${LDFLAGS}"
+  export 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"
+}


[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2019-04-30 Thread Bartłomiej Piotrowski via arch-commits
Date: Tuesday, April 30, 2019 @ 16:54:11
  Author: bpiotrowski
Revision: 457035

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 457034, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   92 ++---
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-04-30 16:54:05 UTC (rev 457034)
+++ PKGBUILD2019-04-30 16:54:11 UTC (rev 457035)
@@ -1,46 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=1.0.0rc7
-pkgrel=1
-pkgdesc='CLI tool for managing OCI compliant containers'
-arch=(x86_64)
-url='https://runc.io/'
-license=(Apache)
-depends=(libseccomp)
-makedepends=(git go-pie go-md2man)
-_commit=69ae5da6afdcaaf38285a10b36f362e41cb298d6  # tags/v1.0.0-rc7^0
-source=("git+https://github.com/opencontainers/runc.git#commit=$_commit?signed;)
-validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4")
-sha256sums=('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
-  export EXTRA_FLAGS="-gcflags all=-trimpath=${PWD} -asmflags 
all=-trimpath=${PWD}"
-  export GOPATH="$srcdir"
-  export EXTRA_LDFLAGS="-extldflags ${LDFLAGS}"
-  export 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"
-}

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 457034, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-04-30 16:54:11 UTC (rev 457035)
@@ -0,0 +1,46 @@
+# Maintainer: Morten Linderud 
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=1.0.0rc8
+pkgrel=1
+pkgdesc='CLI tool for managing OCI compliant containers'
+arch=(x86_64)
+url='https://runc.io/'
+license=(Apache)
+depends=(libseccomp)
+makedepends=(git go-pie go-md2man)
+_commit=425e105d5a03fabd737a126ad93d62a9eeede87f  # tags/v1.0.0-rc8^0
+source=("git+https://github.com/opencontainers/runc.git#commit=$_commit?signed;)
+validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4")
+sha256sums=('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
+  export EXTRA_FLAGS="-gcflags all=-trimpath=${PWD} -asmflags 
all=-trimpath=${PWD}"
+  export GOPATH="$srcdir"
+  export EXTRA_LDFLAGS="-extldflags ${LDFLAGS}"
+  export 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"
+}


[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2018-11-08 Thread Bartłomiej Piotrowski via arch-commits
Date: Thursday, November 8, 2018 @ 23:49:57
  Author: bpiotrowski
Revision: 404226

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 404225, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===
--- PKGBUILD2018-11-08 23:49:50 UTC (rev 404225)
+++ PKGBUILD2018-11-08 23:49:57 UTC (rev 404226)
@@ -1,41 +0,0 @@
-# $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"
-}

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 404225, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-11-08 23:49:57 UTC (rev 404226)
@@ -0,0 +1,40 @@
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=1.0.0rc5+168+g079817cc
+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=079817cc26ec5292ac375bb9f47f373d33574949  # 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"
+}


[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2017-11-19 Thread Bartłomiej Piotrowski
Date: Sunday, November 19, 2017 @ 19:43:12
  Author: bpiotrowski
Revision: 267492

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 267491, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   94 ++---
 1 file changed, 47 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-11-19 19:43:04 UTC (rev 267491)
+++ PKGBUILD2017-11-19 19:43:12 UTC (rev 267492)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=0.1.1
-pkgrel=3
-pkgdesc='CLI tool for managing OCI compliant containers'
-arch=('i686' 'x86_64')
-url='https://runc.io/'
-license=('Apache')
-depends=('glibc' 'libseccomp')
-makedepends=('git' 'go' 'go-md2man')
-source=("runc.io::git+https://github.com/opencontainers/runc.git#tag=v$pkgver;)
-md5sums=('SKIP')
-
-prepare() {
-  cd runc.io
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch ${filename##*/}"
-  patch -p1 -N -i "$srcdir/${filename##*/}"
-fi
-  done
-  :
-}
-
-build() {
-  mkdir -p src/github.com/opencontainers
-  cd src/github.com/opencontainers
-  ln -fs "$srcdir/runc.io"
-  cd runc.io
-  export GOPATH="$srcdir" BUILDTAGS='seccomp'
-  make
-  man/md2man-all.sh 2>/dev/null
-}
-
-package() {
-  cd runc.io
-  install -Dm755 runc "$pkgdir/usr/bin/runc"
-  # man pages
-  install -dm755 "$pkgdir/usr/share/man"
-  mv man/man*/ "$pkgdir/usr/share/man"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 267491, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-11-19 19:43:12 UTC (rev 267492)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=0.1.1
+pkgrel=4
+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')
+source=("runc.io::git+https://github.com/opencontainers/runc.git#tag=v$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cd runc.io
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch ${filename##*/}"
+  patch -p1 -N -i "$srcdir/${filename##*/}"
+fi
+  done
+  :
+}
+
+build() {
+  mkdir -p src/github.com/opencontainers
+  cd src/github.com/opencontainers
+  ln -fs "$srcdir/runc.io"
+  cd runc.io
+  export GOPATH="$srcdir" BUILDTAGS='seccomp'
+  make
+  man/md2man-all.sh 2>/dev/null
+}
+
+package() {
+  cd runc.io
+  install -Dm755 runc "$pkgdir/usr/bin/runc"
+  # man pages
+  install -dm755 "$pkgdir/usr/share/man"
+  mv man/man*/ "$pkgdir/usr/share/man"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2016-07-06 Thread Sébastien Luttringer
Date: Wednesday, July 6, 2016 @ 21:53:49
  Author: seblu
Revision: 182416

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 182415, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-07-06 21:53:39 UTC (rev 182415)
+++ PKGBUILD2016-07-06 21:53:49 UTC (rev 182416)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=0.1.1
-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' 'go-md2man')
-source=("git+https://github.com/opencontainers/runc#tag=v$pkgver;)
-md5sums=('SKIP')
-
-prepare() {
-  cd runc
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch $filename"
-  patch -p1 -N -i "$srcdir/$filename"
-fi
-  done
-  :
-}
-
-build() {
-  mkdir -p src/github.com/opencontainers
-  cd src/github.com/opencontainers
-  ln -fs "$srcdir/runc"
-  cd runc
-  export GOPATH="$srcdir"
-  make
-  man/md2man-all.sh 2>/dev/null
-}
-
-#check() {
-#  cd runc
-#  make localtest
-#}
-
-package() {
-  cd runc
-  install -Dm755 runc "$pkgdir/usr/bin/runc"
-  # man pages
-  install -dm755 "$pkgdir/usr/share/man"
-  mv man/man*/ "$pkgdir/usr/share/man"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 182415, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-07-06 21:53:49 UTC (rev 182416)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=0.1.1
+pkgrel=2
+pkgdesc='CLI tool for managing OCI compliant containers'
+arch=('x86_64')
+url='https://runc.io/'
+license=('Apache')
+depends=('glibc' 'libseccomp')
+makedepends=('git' 'go' 'go-md2man')
+source=("git+https://github.com/opencontainers/runc#tag=v$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cd runc
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch $filename"
+  patch -p1 -N -i "$srcdir/$filename"
+fi
+  done
+  :
+}
+
+build() {
+  mkdir -p src/github.com/opencontainers
+  cd src/github.com/opencontainers
+  ln -fs "$srcdir/runc"
+  cd runc
+  export GOPATH="$srcdir" BUILDTAGS='seccomp'
+  make
+  man/md2man-all.sh 2>/dev/null
+}
+
+#check() {
+#  cd runc
+#  make test
+#}
+
+package() {
+  cd runc
+  install -Dm755 runc "$pkgdir/usr/bin/runc"
+  # man pages
+  install -dm755 "$pkgdir/usr/share/man"
+  mv man/man*/ "$pkgdir/usr/share/man"
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in runc/repos/community-x86_64 (PKGBUILD PKGBUILD)

2016-06-06 Thread Ike Devolder
Date: Monday, June 6, 2016 @ 14:32:53
  Author: idevolder
Revision: 178002

archrelease: copy trunk to community-x86_64

Added:
  runc/repos/community-x86_64/PKGBUILD
(from rev 178001, runc/trunk/PKGBUILD)
Deleted:
  runc/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |  104 ++---
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2016-06-06 12:32:45 UTC (rev 178001)
+++ PKGBUILD2016-06-06 12:32:53 UTC (rev 178002)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=0.1.0
-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' 'go-md2man')
-source=("git+https://github.com/opencontainers/runc#tag=v$pkgver;)
-md5sums=('SKIP')
-
-prepare() {
-  cd runc
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-if [[ "$filename" =~ \.patch$ ]]; then
-  msg2 "Applying patch $filename"
-  patch -p1 -N -i "$srcdir/$filename"
-fi
-  done
-  :
-}
-
-build() {
-  mkdir -p src/github.com/opencontainers
-  cd src/github.com/opencontainers
-  ln -fs "$srcdir/runc"
-  cd runc
-  export GOPATH="$srcdir"
-  make
-  man/md2man-all.sh 2>/dev/null
-}
-
-#check() {
-#  cd runc
-#  make localtest
-#}
-
-package() {
-  cd runc
-  install -Dm755 runc "$pkgdir/usr/bin/runc"
-  # man pages
-  install -dm755 "$pkgdir/usr/share/man"
-  mv man/man*/ "$pkgdir/usr/share/man"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: runc/repos/community-x86_64/PKGBUILD (from rev 178001, 
runc/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2016-06-06 12:32:53 UTC (rev 178002)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=0.1.1
+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' 'go-md2man')
+source=("git+https://github.com/opencontainers/runc#tag=v$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cd runc
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+if [[ "$filename" =~ \.patch$ ]]; then
+  msg2 "Applying patch $filename"
+  patch -p1 -N -i "$srcdir/$filename"
+fi
+  done
+  :
+}
+
+build() {
+  mkdir -p src/github.com/opencontainers
+  cd src/github.com/opencontainers
+  ln -fs "$srcdir/runc"
+  cd runc
+  export GOPATH="$srcdir"
+  make
+  man/md2man-all.sh 2>/dev/null
+}
+
+#check() {
+#  cd runc
+#  make localtest
+#}
+
+package() {
+  cd runc
+  install -Dm755 runc "$pkgdir/usr/bin/runc"
+  # man pages
+  install -dm755 "$pkgdir/usr/share/man"
+  mv man/man*/ "$pkgdir/usr/share/man"
+}
+
+# vim:set ts=2 sw=2 et: