[arch-commits] Commit in pulumi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Fri Dec 17 08:52:06 UTC 2021
Date: Friday, December 17, 2021 @ 08:52:06
Author: shibumi
Revision: 1075992
archrelease: copy trunk to community-x86_64
Added:
pulumi/repos/community-x86_64/PKGBUILD
(from rev 1075991, pulumi/trunk/PKGBUILD)
Deleted:
pulumi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-17 08:52:00 UTC (rev 1075991)
+++ PKGBUILD 2021-12-17 08:52:06 UTC (rev 1075992)
@@ -1,75 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.19.0
-pkgrel=1
-pkgdesc='Modern Infrastructure as Code'
-arch=('x86_64')
-url="https://github.com/$pkgname/$pkgname"
-license=('GPL')
-depends=('glibc')
-makedepends=('go')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('e758e0053c7a80ff0e64252beb1b47a4434d584a3d4fe4964eac8720e3322e5b')
-b2sums=('30f45acc264b7ce44f25d57f494ba9e3a206c35fea651a0b583e889bb5d03a5b07b324775b25dbb0ba20a04ee4833bba9f444e45ef36f3cb59b90066565ed0d5')
-
-_plugins=(
- "nodejs/cmd/pulumi-language-nodejs"
- "python/cmd/pulumi-language-python"
- "dotnet/cmd/pulumi-language-dotnet"
- "go/pulumi-language-go"
-)
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
- # Build the `pulumi` executable
- cd "${srcdir}/${pkgname}-${pkgver}/pkg"
- go build \
- -ldflags "-X github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} -extldflags ${LDFLAGS}" \
- -o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
- "./cmd/${pkgname}" \
-
- # Build the plugins
- cd "${srcdir}/${pkgname}-${pkgver}/sdk"
- for plugin in "${_plugins[@]}"; do
- plugin_name=${plugin##*/}
- go build \
- -ldflags "-X github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} -extldflags ${LDFLAGS}" \
- -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
- "./${plugin}"
-
- # Add possible executor
- if [ -f "${plugin}-exec" ]; then
- cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
- fi
- done
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Install all executables
- for f in ./bin/*; do
- install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
- done
-
- # Generate Bash completion
- install -D -m 644 \
- <("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
- "${pkgdir}/etc/bash_completion.d/${pkgname}"
-
- # Generate ZSH completion
- install -D -m 644 \
- <("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
- "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: pulumi/repos/community-x86_64/PKGBUILD (from rev 1075991, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-17 08:52:06 UTC (rev 1075992)
@@ -0,0 +1,75 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+pkgname=pulumi
+pkgver=3.20.0
+pkgrel=1
+pkgdesc='Modern Infrastructure as Code'
+arch=('x86_64')
+url="https://github.com/$pkgname/$pkgname"
+license=('GPL')
+depends=('glibc')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('5e0b38bba454487df256f7bae2cb010f3f25aac1c219dc320cb320c215945e43')
+b2sums=('ad093828813da7708c280359b25f3f865197dd9daa58c0d8fb7149b71b8705ea92085abc774b09c4068fe96fca41f03e33f78f1b3475e90d94f3a3aa3a2fa46f')
+
+_plugins=(
+ "nodejs/cmd/pulumi-language-nodejs"
+ "python/cmd/pulumi-language-python"
+ "dotnet/cmd/pulumi-language-dotnet"
+ "go/pulumi-language-go"
+)
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+ # Build the `pulumi` executable
+ cd "${srcdir}/${pkgname}-${pkgver}/pkg"
+ go build \
+ -ldflags "-X github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} -extldflags ${LDFLAGS}" \
+ -o "${srcdir}/${pkgname}-${pkgver}/bin/${pkgname}" \
+ "./cmd/${pkgname}" \
+
+ # Build the plugins
+ cd "${srcdir}/${pkgname}-${pkgver}/sdk"
+ for plugin in "${_plugins[@]}"; do
+ plugin_name=${plugin##*/}
+ go build \
+ -ldflags "-X github.com/pulumi/pulumi/pkg/v${pkgver%%.*}/version.Version=${pkgver} -extldflags ${LDFLAGS}" \
+ -o "${srcdir}/${pkgname}-${pkgver}/bin/${plugin_name}" \
+ "./${plugin}"
+
+ # Add possible executor
+ if [ -f "${plugin}-exec" ]; then
+ cp "${plugin}-exec" "${srcdir}/${pkgname}-${pkgver}/bin/"
+ fi
+ done
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # Install all executables
+ for f in ./bin/*; do
+ install -D -m 755 "$f" "${pkgdir}/usr/bin/$(basename $f)"
+ done
+
+ # Generate Bash completion
+ install -D -m 644 \
+ <("${pkgdir}/usr/bin/${pkgname}" gen-completion bash) \
+ "${pkgdir}/etc/bash_completion.d/${pkgname}"
+
+ # Generate ZSH completion
+ install -D -m 644 \
+ <("${pkgdir}/usr/bin/${pkgname}" gen-completion zsh) \
+ "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list