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

Christian Rebischke shibumi at gemini.archlinux.org
Sun Sep 12 23:05:04 UTC 2021


    Date: Sunday, September 12, 2021 @ 23:05:04
  Author: shibumi
Revision: 1014619

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-12 23:04:57 UTC (rev 1014618)
+++ PKGBUILD	2021-09-12 23:05:04 UTC (rev 1014619)
@@ -1,75 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.11.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=('7b36e5e4329fd0196d3d40aeb5cec6b7f7d3edc25a97af98ba253273c587e182')
-b2sums=('ed58aa86609d15b55ae879d1f44596b8499707b34ef398faaf70f9ec8b8c6571615c92af0961e70d2b398b69071f08f1bc4029cb28b019a5b2c2bb16135da367')
-
-_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 1014618, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-12 23:05:04 UTC (rev 1014619)
@@ -0,0 +1,75 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+pkgname=pulumi
+pkgver=3.12.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=('bbd7d5730946f370c413915b14389ca03b0b180222078400f5bb7cae1a85ea9f')
+b2sums=('11d3018b4c5b819048b6445199766909344da8bc80c2d6dbf93e77fcad6c305ab6a33ac4046700514a0541a8bb30924b6c8a1c3a7a12ec30cd9dc859c127de9c')
+
+_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