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

George Rawlinson grawlinson at gemini.archlinux.org
Mon May 2 21:44:58 UTC 2022


    Date: Monday, May 2, 2022 @ 21:44:58
  Author: grawlinson
Revision: 1192341

archrelease: copy trunk to community-x86_64

Added:
  rootlesskit/repos/community-x86_64/PKGBUILD
    (from rev 1192340, rootlesskit/trunk/PKGBUILD)
Deleted:
  rootlesskit/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  138 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-02 21:44:08 UTC (rev 1192340)
+++ PKGBUILD	2022-05-02 21:44:58 UTC (rev 1192341)
@@ -1,69 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Steven Allen <steven at stebalien.com>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-
-pkgname=rootlesskit
-pkgver=1.0.0
-pkgrel=2
-pkgdesc='Native "fake root" for implementing rootless containers'
-arch=('x86_64')
-url='https://github.com/rootless-containers/rootlesskit'
-license=('Apache')
-depends=('glibc' 'shadow')
-makedepends=('git' 'go')
-checkdepends=('openbsd-netcat')
-options=('!lto')
-_commit='1920341cd41e047834a21007424162a2dc946315'
-source=("$pkgname::git+https://github.com/rootless-containers/rootlesskit.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare(){
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    -o build \
-    ./cmd/...
-}
-
-# tests fail :(
-#check() {
-#  cd "$pkgname"
-#  go test -v ./...
-#}
-
-package() {
-  cd "$pkgname"
-
-  # binaries
-  install -vDm755 -t "$pkgdir/usr/bin" build/*
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-  cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
-}

Copied: rootlesskit/repos/community-x86_64/PKGBUILD (from rev 1192340, rootlesskit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-02 21:44:58 UTC (rev 1192341)
@@ -0,0 +1,69 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Steven Allen <steven at stebalien.com>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+
+pkgname=rootlesskit
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Native "fake root" for implementing rootless containers'
+arch=('x86_64')
+url='https://github.com/rootless-containers/rootlesskit'
+license=('Apache')
+depends=('glibc' 'shadow')
+makedepends=('git' 'go')
+checkdepends=('openbsd-netcat')
+options=('!lto')
+_commit='5d5f4c0c26e26a6b51d1838c23e793e5836442d0'
+source=("$pkgname::git+https://github.com/rootless-containers/rootlesskit.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare(){
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+    -o build \
+    ./cmd/...
+}
+
+# tests fail :(
+#check() {
+#  cd "$pkgname"
+#  go test -v ./...
+#}
+
+package() {
+  cd "$pkgname"
+
+  # binaries
+  install -vDm755 -t "$pkgdir/usr/bin" build/*
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+  cp -vr docs "$pkgdir/usr/share/doc/$pkgname"
+}



More information about the arch-commits mailing list