From c0506798c23848e7a4d564aaf8ffe689b7eebc83 Mon Sep 17 00:00:00 2001 From: Wes Roberts Date: Mon, 14 Nov 2022 19:58:09 -0500 Subject: [PATCH] New package: pulumi-3.46.1 --- srcpkgs/pulumi/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/pulumi/template diff --git a/srcpkgs/pulumi/template b/srcpkgs/pulumi/template new file mode 100644 index 000000000000..2ecd5d04a8d5 --- /dev/null +++ b/srcpkgs/pulumi/template @@ -0,0 +1,26 @@ +# Template file for 'pulumi' +pkgname=pulumi +version=3.46.1 +revision=1 +hostmakedepends="git make go yarn nodejs" +short_desc="Universal Infrastructure as Code" +maintainer="Wes Roberts " +license="Apache-2.0" +homepage="https://www.pulumi.com/" +changelog="https://github.com/pulumi/pulumi/releases" +distfiles="https://github.com/pulumi/pulumi/archive/v${version}.tar.gz" +checksum=fd55b1dd66ade7344f4185bb77a028c3def38a16cf24bf46eb7c007e1f979235 +nopie=yes +python_version=3 + +# Non-standard go package +do_install() { + mkdir gopath + export GOPATH="$(pwd)/gopath" + make dist + for f in ${GOPATH}/bin/*; do + if [ -f "$f" ] && [ -x "$f" ]; then + vbin "$f" + fi + done +}