27 lines
863 B
Bash
27 lines
863 B
Bash
# Template file for 'docker-credential-pass'
|
|
pkgname=docker-credential-pass
|
|
version=0.6.1
|
|
revision=2
|
|
wrksrc="docker-credential-helpers-${version}"
|
|
only_for_archs="x86_64 x86_64-musl ppc64le ppc64le-musl"
|
|
build_style=go
|
|
go_import_path="github.com/docker/docker-credential-helpers"
|
|
go_package="${go_import_path}/pass/cmd"
|
|
depends="pass gnupg2"
|
|
short_desc="Use native stores to keep Docker credentials safe"
|
|
maintainer="Hoang Nguyen <hoang@wetrust.io>"
|
|
license="MIT"
|
|
homepage="https://github.com/docker/docker-credential-helpers"
|
|
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
|
|
checksum=9b36ae15d5bceaaf3496b80413acafa6325c633af3ae211ce10724dfa7046883
|
|
|
|
# the build step installed the binary named cmd because
|
|
# the authors structured their code that way.
|
|
do_install() {
|
|
vbin "${GOPATH}/bin/cmd" "${pkgname}"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|