[arch-commits] Commit in pulumi/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at gemini.archlinux.org
Wed Nov 3 23:45:17 UTC 2021


    Date: Wednesday, November 3, 2021 @ 23:45:17
  Author: shibumi
Revision: 1035797

archrelease: copy trunk to community-x86_64

Added:
  pulumi/repos/community-x86_64/PKGBUILD
    (from rev 1035796, pulumi/trunk/PKGBUILD)
Deleted:
  pulumi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  150 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-03 23:45:12 UTC (rev 1035796)
+++ PKGBUILD	2021-11-03 23:45:17 UTC (rev 1035797)
@@ -1,75 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.16.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=('1126b732da8b23b2d44e685e27823a75d0997fea6967fd5df7e2127518af5a83')
-b2sums=('0ecdd3ba131bb9c602402d3f6192a74f8688797eece3ebec3708ab84724d445b5e3d193c194d6f759176f7b7d737d18bc65948d03e17f6b45a615b05a599271b')
-
-_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 1035796, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-03 23:45:17 UTC (rev 1035797)
@@ -0,0 +1,75 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+pkgname=pulumi
+pkgver=3.17.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=('287a6caf4835fbe8338a8d44f599e32facf4c1cfe3f8b9e1de22b2d2c7932b0f')
+b2sums=('000b35c1badd9a8b15a594b1f7c5cd3d3b7cdc4f2866f5c1a6ed41004f549da98196bb129b2b3b03475be3c1e211930f4cb8c98f14f7072fd2764c1fcca73bf6')
+
+_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