void-packages/srcpkgs/saml2aws/template

26 lines
627 B
Bash

# Template file for 'saml2aws'
pkgname=saml2aws
version=2.17.0
revision=1
build_style=go
go_import_path=github.com/Versent/saml2aws
go_package="$go_import_path/cmd/saml2aws"
hostmakedepends="git dep"
depends="aws-cli"
short_desc="Get AWS temporary credentials from SAML provider"
maintainer="Mate GABRI <iam@theguy.io>"
license="MIT"
homepage="https://github.com/Versent/saml2aws"
distfiles="https://github.com/Versent/saml2aws/archive/v${version}.tar.gz"
checksum=fd7a1eeff96af1c78b68bcd1473965016cc078b4e50963d39fd69ad4311e7094
pre_build() {
cd $GOSRCPATH
dep ensure
cd $wrksrc
}
post_install() {
vlicense LICENSE.md
}