# Contributor: Adrian L Lange # Contributor: Charles Wimmer # Contributor: Dermot Bradley # Maintainer: Dermot Bradley pkgname=step-cli pkgver=0.15.16 pkgrel=0 pkgdesc="Zero trust swiss army knife that integrates with step-ca for automated certificate management" url="https://github.com/smallstep/cli" arch="all !s390x !mips !mips64" # mips blocked by go license="Apache-2.0" makedepends=" bash go go-bindata " subpackages=" $pkgname-bash-completion $pkgname-zsh-completion " source=" $pkgname-$pkgver.tar.gz::https://github.com/smallstep/cli/archive/v$pkgver.tar.gz " builddir="$srcdir/cli-$pkgver" build() { make build } check() { make test } package() { make DESTDIR="$pkgdir" install install -Dm644 autocomplete/bash_autocomplete \ "$pkgdir"/usr/share/bash-completion/completions/step install -Dm644 autocomplete/zsh_autocomplete \ "$pkgdir"/usr/share/zsh/site-functions/_step } sha512sums="8e198ff7526c58a107b23dece9e63cba17b5cdf5368708fb231b8916ae04ca5e1775ead799ce99676100145658b56ecc970f8c02b5a9ab0e42ac6b330f85b0c2 step-cli-0.15.16.tar.gz"