Date: Monday, February 20, 2017 @ 23:17:32 Author: seblu Revision: 213223
archrelease: copy trunk to community-i686, community-x86_64 Added: runc/repos/community-i686/ runc/repos/community-i686/PKGBUILD (from rev 213222, runc/trunk/PKGBUILD) runc/repos/community-x86_64/PKGBUILD (from rev 213222, runc/trunk/PKGBUILD) Deleted: runc/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 52 -------------------------------------------- 3 files changed, 94 insertions(+), 52 deletions(-) Copied: runc/repos/community-i686/PKGBUILD (from rev 213222, runc/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-02-20 23:17:32 UTC (rev 213223) @@ -0,0 +1,47 @@ +# $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: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-02-20 23:16:58 UTC (rev 213222) +++ community-x86_64/PKGBUILD 2017-02-20 23:17:32 UTC (rev 213223) @@ -1,52 +0,0 @@ -# $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: Copied: runc/repos/community-x86_64/PKGBUILD (from rev 213222, runc/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-02-20 23:17:32 UTC (rev 213223) @@ -0,0 +1,47 @@ +# $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: