mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-23 17:42:31 +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.7
|
|
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="79f7351cb898848fe4aeac3a47df57fdefee320240984bcb714ab0bc6f7f94879e1ca321e7d2e32aca9f4c7081f08785a086dc462807859411f2fe678ff75c33 step-cli-0.15.7.tar.gz"
|