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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Apr 20 08:19:14 UTC 2022


    Date: Wednesday, April 20, 2022 @ 08:19:14
  Author: jelle
Revision: 1187123

archrelease: copy trunk to community-x86_64

Added:
  step-cli/repos/community-x86_64/PKGBUILD
    (from rev 1187122, step-cli/trunk/PKGBUILD)
Deleted:
  step-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-20 08:19:08 UTC (rev 1187122)
+++ PKGBUILD	2022-04-20 08:19:14 UTC (rev 1187123)
@@ -1,42 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=step-cli
-pkgver=0.18.2
-pkgrel=1
-pkgdesc="A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc."
-url="https://github.com/smallstep/cli"
-arch=(x86_64)
-license=(Apache)
-depends=(glibc)
-makedepends=(go)
-optdepends=("step-ca: setup CA/SSO/ACME server")
-source=(https://github.com/smallstep/cli/releases/download/v${pkgver}/step_${pkgver}.tar.gz)
-sha512sums=('04d43fea815f14374686fc22206053467cc58998e05b08b56cf1e6654a25bf9369399913315024ad7e770a326297ea1f9ac8c6b924b47f4495bcb928ca253486')
-
-prepare() {
-  sed -i "s/step/${pkgname}/g" "autocomplete/zsh_autocomplete"
-  sed -i "s/step/${pkgname}/g" "autocomplete/bash_autocomplete"
-}
-
-build() {
-  BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
-
-  go build \
-      -trimpath \
-      -buildmode=pie \
-      -mod=readonly \
-      -modcacherw \
-      -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X \"main.Version=${pkgver}\" -X \"main.BuildTime=${BUILD_DATE}\"" \
-      -o step-cli cmd/step/main.go
-}
-
-check() {
-  go test ./...
-}
-
-package() {
-  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
-  install -Dm644 "autocomplete/bash_autocomplete" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
-  install -Dm644 "autocomplete/zsh_autocomplete" "$pkgdir/usr/share/zsh/site-functions/_${pkgname}"
-}

Copied: step-cli/repos/community-x86_64/PKGBUILD (from rev 1187122, step-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-20 08:19:14 UTC (rev 1187123)
@@ -0,0 +1,42 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=step-cli
+pkgver=0.19.0
+pkgrel=1
+pkgdesc="A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc."
+url="https://github.com/smallstep/cli"
+arch=(x86_64)
+license=(Apache)
+depends=(glibc)
+makedepends=(go)
+optdepends=("step-ca: setup CA/SSO/ACME server")
+source=(https://github.com/smallstep/cli/releases/download/v${pkgver}/step_${pkgver}.tar.gz)
+sha512sums=('3d7c35f851d39df67dcedc74de0707cfea0e87c1cfec52b952db121daf051cb0813eea9800e2b5b3534b1d0c107d87fa2686570b4a3f65746bf70d3191b086ff')
+
+prepare() {
+  sed -i "s/step/${pkgname}/g" "autocomplete/zsh_autocomplete"
+  sed -i "s/step/${pkgname}/g" "autocomplete/bash_autocomplete"
+}
+
+build() {
+  BUILD_DATE="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d)"
+
+  go build \
+      -trimpath \
+      -buildmode=pie \
+      -mod=readonly \
+      -modcacherw \
+      -ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X \"main.Version=${pkgver}\" -X \"main.BuildTime=${BUILD_DATE}\"" \
+      -o step-cli cmd/step/main.go
+}
+
+check() {
+  go test ./...
+}
+
+package() {
+  install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dm644 "autocomplete/bash_autocomplete" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+  install -Dm644 "autocomplete/zsh_autocomplete" "$pkgdir/usr/share/zsh/site-functions/_${pkgname}"
+}



More information about the arch-commits mailing list