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

21 lines
742 B
Bash

# Template file for 'docker-credential-pass'
pkgname=docker-credential-pass
version=0.6.4
revision=2
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://github.com/docker/docker-credential-helpers/archive/v${version}.tar.gz"
checksum=b97d27cefb2de7a18079aad31c9aef8e3b8a38313182b73aaf8b83701275ac83
post_install() {
mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/bin/docker-credential-pass
vlicense LICENSE
}