void-packages/srcpkgs/docker-credential-pass/template

27 lines
831 B
Bash

# Template file for 'docker-credential-pass'
pkgname=docker-credential-pass
version=0.6.3
revision=1
archs="x86_64* ppc64le*"
wrksrc="docker-credential-helpers-${version}"
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=441684cf1d2434aa1024aa2f8455e11502c44858e93ea171b19caa656dd2b2e2
# 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
}