summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 11 insertions, 10 deletions
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"