# Template file for 'docker-credential-secretservice'
pkgname=docker-credential-secretservice
version=0.9.6
revision=1
build_style=go
go_import_path="github.com/docker/docker-credential-helpers"
go_package="${go_import_path}/secretservice/cmd"
make_check_target="${go_import_path}/secretservice ${go_import_path}/secretservice/cmd ${go_import_path}/registryurl"
hostmakedepends="pkg-config"
makedepends="libsecret-devel"
short_desc="Use D-Bus Secret Service to keep Docker credentials safe"
maintainer="SkinChangerDev <git@skinchanger.dev>"
license="MIT"
homepage="https://github.com/docker/docker-credential-helpers"
distfiles="https://github.com/docker/docker-credential-helpers/archive/v${version}.tar.gz"
checksum=aa0409f5bc2afcb9b03c567ea3d61b1009f3075cc2e80da938bff4a9c86dda54

post_install() {
	mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/bin/docker-credential-secretservice
	vlicense LICENSE
}
