2021-03-12 18:55:40 +00:00

45 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.15.13
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="f469d143d421275a75797b545b76d2d852ab8c267ded33f6f9c607c1ddeb50297e6d1879e9fc3f356d74fffea7f4c0cd5150e62142ca25bc448e3e3fb45003a3 step-cli-0.15.13.tar.gz"