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

Frederik Schwan freswa at gemini.archlinux.org
Tue Mar 29 14:08:41 UTC 2022


    Date: Tuesday, March 29, 2022 @ 14:08:41
  Author: freswa
Revision: 1177661

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-29 14:08:39 UTC (rev 1177660)
+++ PKGBUILD	2022-03-29 14:08:41 UTC (rev 1177661)
@@ -1,54 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Sébastien "Seblu" Luttringer
-
-pkgname=runc
-pkgver=1.1.0
-pkgrel=1
-pkgdesc='CLI tool for managing OCI compliant containers'
-arch=(x86_64)
-url='https://runc.io/'
-license=(Apache)
-depends=(libseccomp)
-makedepends=(git go go-md2man)
-optdepends=(
-  'criu: checkpoint support'
-)
-_commit=067aaf8548d78269dcb2c13b856775e27c410f9c	#refs/tags/v1.1.0^{}
-source=("git+https://github.com/opencontainers/runc.git#commit=$_commit?signed")
-validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4"
-			  "C9C370B246B09F6DBCFC744C34401015D1D2D386")
-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 GOPATH="$srcdir"
-  export BUILDTAGS='seccomp apparmor'
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-trimpath -mod=readonly -modcacherw"
-  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 1177660, runc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-29 14:08:41 UTC (rev 1177661)
@@ -0,0 +1,50 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Sébastien "Seblu" Luttringer
+
+pkgname=runc
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='CLI tool for managing OCI compliant containers'
+arch=(x86_64)
+url='https://runc.io/'
+license=(Apache)
+depends=(libseccomp)
+makedepends=(git go go-md2man)
+optdepends=(
+  'criu: checkpoint support'
+)
+source=("${pkgname}-${pkgver}.tar.xz::https://github.com/opencontainers/runc/releases/download/v${pkgver}/runc.tar.xz"
+        "${pkgname}-${pkgver}.tar.xz.sig::https://github.com/opencontainers/runc/releases/download/v${pkgver}/runc.tar.xz.asc")
+validpgpkeys=("5F36C6C61B5460124A75F5A69E18AA267DDB8DB4"
+			  "C9C370B246B09F6DBCFC744C34401015D1D2D386")
+sha256sums=('75c1f0bb19b209412c52599e24b33ac306cf7caf772c97577b7ebe964837a54b'
+            'SKIP')
+
+prepare() {
+  mkdir -p src/github.com/opencontainers
+  cp -r runc-${pkgver} src/github.com/opencontainers/runc
+}
+
+build() {
+  cd src/github.com/opencontainers/runc
+  export GOPATH="$srcdir"
+  export BUILDTAGS='seccomp apparmor'
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-trimpath -mod=readonly -modcacherw"
+  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