mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-24 10:01:38 +01:00
Add bash-completion and zsh-completion sub packages. Also take over maintainership in agreement with previous maintainer.
47 lines
1.3 KiB
Plaintext
47 lines
1.3 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.3
|
|
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
|
|
common.mk.patch
|
|
"
|
|
builddir="$srcdir/cli-$pkgver"
|
|
|
|
build() {
|
|
make simple
|
|
}
|
|
|
|
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="dcf75f60573662d623e14a5603f3d7f864b04cce387e160048bb7a9d866330d43daa3a26a319f302514540988f31e64553bd5850abba3e8bb9121195f5696433 step-cli-0.15.3.tar.gz
|
|
931ed197517551b81a5e3fa417d26693cda95f772c5bddd0842d22c540b5ae24398009ae289d912fd48ffde6f3679d5a446d452942e8cd6496ed54f70cb12fcf common.mk.patch"
|