diff --git a/srcpkgs/saml2aws/template b/srcpkgs/saml2aws/template new file mode 100644 index 00000000000..b42009357e1 --- /dev/null +++ b/srcpkgs/saml2aws/template @@ -0,0 +1,25 @@ +# Template file for 'saml2aws' +pkgname=saml2aws +version=2.16.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 " +license="MIT" +homepage="https://github.com/Versent/saml2aws" +distfiles="https://github.com/Versent/saml2aws/archive/v${version}.tar.gz" +checksum=a453282699686dcb9cb1d854a3eb44e34a924fcdc682e9f1fc75edf3a8439245 + +pre_build() { + cd $GOSRCPATH + dep ensure + cd $wrksrc +} + +post_install() { + vlicense LICENSE.md +}