mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 23:42:07 +01:00
45 lines
1.1 KiB
Plaintext
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.16
|
|
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 !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"
|