[arch-commits] Commit in rootlesskit/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Fri Apr 29 02:03:53 UTC 2022
Date: Friday, April 29, 2022 @ 02:03:53
Author: grawlinson
Revision: 1191743
archrelease: copy trunk to community-x86_64
Added:
rootlesskit/repos/community-x86_64/PKGBUILD
(from rev 1191742, rootlesskit/trunk/PKGBUILD)
Deleted:
rootlesskit/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 138 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-29 02:03:19 UTC (rev 1191742)
+++ PKGBUILD 2022-04-29 02:03:53 UTC (rev 1191743)
@@ -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=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='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 1191742, rootlesskit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-29 02:03:53 UTC (rev 1191743)
@@ -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.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"
+}
More information about the arch-commits
mailing list