[arch-commits] Commit in step-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Wed Nov 17 22:18:15 UTC 2021
Date: Wednesday, November 17, 2021 @ 22:18:15
Author: jelle
Revision: 1051242
archrelease: copy trunk to community-x86_64
Added:
step-cli/repos/community-x86_64/PKGBUILD
(from rev 1051241, step-cli/trunk/PKGBUILD)
Deleted:
step-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-17 22:18:06 UTC (rev 1051241)
+++ PKGBUILD 2021-11-17 22:18:15 UTC (rev 1051242)
@@ -1,41 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=step-cli
-pkgver=0.17.7
-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=('5c58001c2dda69e65e1f785977552bba5ffbbba01a689de375a8d33ab1cf94d8ba1ef1b95cfcf3d7593333ee889563005e32d5cf0e1c36805bba917dfce88e2c')
-
-prepare() {
- sed -i "s/step/${pkgname}/g" "autocomplete/zsh_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 1051241, step-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-17 22:18:15 UTC (rev 1051242)
@@ -0,0 +1,41 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=step-cli
+pkgver=0.18.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=('364c3d82a00ba37f014960feb4b28073e2d7b448dea23710a5f75a9b9c472a5227978f1bc2904a78f05d77076ea12a4549d3186184821406afd5732e1edb9868')
+
+prepare() {
+ sed -i "s/step/${pkgname}/g" "autocomplete/zsh_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