[arch-commits] Commit in runc/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Mon Feb 20 23:16:59 UTC 2017
Date: Monday, February 20, 2017 @ 23:16:58
Author: seblu
Revision: 213222
upgpkg: runc 0.1.1-3
- FS#52968
Modified:
runc/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-20 23:03:40 UTC (rev 213221)
+++ PKGBUILD 2017-02-20 23:16:58 UTC (rev 213222)
@@ -3,18 +3,18 @@
pkgname=runc
pkgver=0.1.1
-pkgrel=2
+pkgrel=3
pkgdesc='CLI tool for managing OCI compliant containers'
-arch=('x86_64')
+arch=('i686' 'x86_64')
url='https://runc.io/'
license=('Apache')
depends=('glibc' 'libseccomp')
makedepends=('git' 'go' 'go-md2man')
-source=("git+https://github.com/opencontainers/runc.git#tag=v$pkgver")
+source=("runc.io::git+https://github.com/opencontainers/runc.git#tag=v$pkgver")
md5sums=('SKIP')
prepare() {
- cd runc
+ cd runc.io
# apply patch from the source array (should be a pacman feature)
local filename
for filename in "${source[@]}"; do
@@ -29,20 +29,15 @@
build() {
mkdir -p src/github.com/opencontainers
cd src/github.com/opencontainers
- ln -fs "$srcdir/runc"
- cd runc
+ ln -fs "$srcdir/runc.io"
+ cd runc.io
export GOPATH="$srcdir" BUILDTAGS='seccomp'
make
man/md2man-all.sh 2>/dev/null
}
-#check() {
-# cd runc
-# make test
-#}
-
package() {
- cd runc
+ cd runc.io
install -Dm755 runc "$pkgdir/usr/bin/runc"
# man pages
install -dm755 "$pkgdir/usr/share/man"
More information about the arch-commits
mailing list