2022-05-12 02:00:55 +02:00

47 lines
1.1 KiB
Plaintext

# Contributor: Adrian L Lange <alpine@p3lim.net>
# Contributor: Charles Wimmer <charles@wimmer.net>
# Contributor: Dermot Bradley <dermot_bradley@yahoo.com>
# Maintainer: Dermot Bradley <dermot_bradley@yahoo.com>
pkgname=step-cli
pkgver=0.19.0
pkgrel=1
pkgdesc="Zero trust swiss army knife that integrates with step-ca for automated certificate management"
url="https://github.com/smallstep/cli"
arch="all"
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/refs/tags/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="
df1fe5afe6a87e26b197150672daf6298dab1d39872237505601864aab1e5ba44e9268498913a639629d59b269c0121f0445e2909263019287f77916e373b8ab step-cli-0.19.0.tar.gz
"