2021-04-04 20:05:26 +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.14
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="6a06bffba44f46c08c11c3387de2be98f67688f5cdbc64f23fe5090818a4eae2422c812fab096590a0d668569fc914e7595c25aff70802bc11e5ae6fba7a0aed step-cli-0.15.14.tar.gz"