[arch-commits] Commit in step-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Feb 18 17:34:08 UTC 2022
Date: Friday, February 18, 2022 @ 17:34:07
Author: jelle
Revision: 1134009
archrelease: copy trunk to community-x86_64
Added:
step-cli/repos/community-x86_64/PKGBUILD
(from rev 1134008, step-cli/trunk/PKGBUILD)
Deleted:
step-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-18 17:33:55 UTC (rev 1134008)
+++ PKGBUILD 2022-02-18 17:34:07 UTC (rev 1134009)
@@ -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.18.1
-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=('d58b991fb662130fa9c754f553a1da824b0f360d598d179a56ee72f3ec4504ef54256a770c445575541c7ef331ccaa26e92307089fc49698f1fa872978331dca')
-
-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 1134008, step-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-18 17:34:07 UTC (rev 1134009)
@@ -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.18.1
+pkgrel=2
+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=('d58b991fb662130fa9c754f553a1da824b0f360d598d179a56ee72f3ec4504ef54256a770c445575541c7ef331ccaa26e92307089fc49698f1fa872978331dca')
+
+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