summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD21
2 files changed, 17 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5fee995f61a..91d5929bef0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = step-cli-bin
pkgdesc = A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
- pkgver = 0.8.5
+ pkgver = 0.9.1
pkgrel = 1
url = https://smallstep.com/cli
arch = x86_64
license = Apache
- source = https://github.com/smallstep/cli/releases/download/v0.8.5/step_0.8.5_linux_amd64.tar.gz
- source = https://github.com/smallstep/cli/raw/v0.8.5/autocomplete/bash_autocomplete
- source = https://github.com/smallstep/cli/raw/v0.8.5/autocomplete/zsh_autocomplete
- sha256sums = f86519b1107d57e8bdb2635cf5753447b7d863b855c47c8803e40b80c7f5179c
+ source = https://github.com/smallstep/cli/releases/download/v0.9.1/step_0.9.1_linux_amd64.tar.gz
+ source = https://github.com/smallstep/cli/raw/v0.9.1/autocomplete/bash_autocomplete
+ source = https://github.com/smallstep/cli/raw/v0.9.1/autocomplete/zsh_autocomplete
+ sha256sums = 972121b1e4f6db7bcef05688e25865341b6838f8ec31ca280e3588e6c28448a8
sha256sums = add3e078e394e265f6b6a3bf12af81cc7897410ae5e6a0d4ee7714a5b856a7be
- sha256sums = 1ef3da03d7d728568b163d706bdcfadbc67bb254ce2da615ec1367e437146fad
+ sha256sums = 5f5e5bc5cdd96109a82f91e61b8cdffb8695aee201d3bd61ca3874471819372e
pkgname = step-cli-bin
diff --git a/PKGBUILD b/PKGBUILD
index bc8ec447ff8..c58c9aea3d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,24 @@
# Maintainer: Nazar Mishturak <nazarmx@gmail.com>
_binname=step-cli
pkgname=$_binname-bin
-pkgver=0.8.5
+pkgver=0.9.1
pkgrel=1
pkgdesc="A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc."
arch=('x86_64')
url="https://smallstep.com/cli"
license=('Apache')
-source=(
- "https://github.com/smallstep/cli/releases/download/v${pkgver}/step_${pkgver}_linux_amd64.tar.gz"
+source=("https://github.com/smallstep/cli/releases/download/v${pkgver}/step_${pkgver}_linux_amd64.tar.gz"
"https://github.com/smallstep/cli/raw/v${pkgver}/autocomplete/bash_autocomplete"
- "https://github.com/smallstep/cli/raw/v${pkgver}/autocomplete/zsh_autocomplete"
-)
-sha256sums=(
- 'f86519b1107d57e8bdb2635cf5753447b7d863b855c47c8803e40b80c7f5179c'
- 'add3e078e394e265f6b6a3bf12af81cc7897410ae5e6a0d4ee7714a5b856a7be'
- '1ef3da03d7d728568b163d706bdcfadbc67bb254ce2da615ec1367e437146fad'
-)
+ "https://github.com/smallstep/cli/raw/v${pkgver}/autocomplete/zsh_autocomplete")
+
+sha256sums=('972121b1e4f6db7bcef05688e25865341b6838f8ec31ca280e3588e6c28448a8'
+ 'add3e078e394e265f6b6a3bf12af81cc7897410ae5e6a0d4ee7714a5b856a7be'
+ '5f5e5bc5cdd96109a82f91e61b8cdffb8695aee201d3bd61ca3874471819372e')
+
+prepare() {
+ sed -i "s/step/${_binname}/g" "zsh_autocomplete"
+}
package() {
install -Dm755 "step_$pkgver/bin/step" "$pkgdir/usr/bin/$_binname"