diff --git a/srcpkgs/saml2aws/template b/srcpkgs/saml2aws/template index 2f308b8e3a2..0cf6c974f19 100644 --- a/srcpkgs/saml2aws/template +++ b/srcpkgs/saml2aws/template @@ -1,24 +1,19 @@ # Template file for 'saml2aws' pkgname=saml2aws -version=2.17.0 +version=2.18.0 revision=1 build_style=go go_import_path=github.com/Versent/saml2aws go_package="$go_import_path/cmd/saml2aws" -hostmakedepends="git dep" +go_ldflags="-X main.Version=${version}" +hostmakedepends="git" 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=fd7a1eeff96af1c78b68bcd1473965016cc078b4e50963d39fd69ad4311e7094 - -pre_build() { - cd $GOSRCPATH - dep ensure - cd $wrksrc -} +checksum=cf3b1983ca8a9267b04a0f0a760017749f7e99d7379997ab3623bec70c4a4698 post_install() { vlicense LICENSE.md