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

Christian Rebischke shibumi at gemini.archlinux.org
Mon Aug 16 17:39:38 UTC 2021


    Date: Monday, August 16, 2021 @ 17:39:38
  Author: shibumi
Revision: 1001062

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-16 17:39:31 UTC (rev 1001061)
+++ PKGBUILD	2021-08-16 17:39:38 UTC (rev 1001062)
@@ -1,75 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.9.1
-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=('8e57951518c9fe0ee0c1899017540b73d5a4204d4146e43b1acee9cfdfd142c3')
-b2sums=('a8149cf44baa2a58e8179dc61cfb3f1a92e3d9cdc0cd88a73f2a3ded6034792136ce2e8417ee5534ebafe5c166ba5ea30e1ef08ff155d17538448b7b949ca2b3')
-
-_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 1001061, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-16 17:39:38 UTC (rev 1001062)
@@ -0,0 +1,75 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+pkgname=pulumi
+pkgver=3.10.1
+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=('78462bdf5afa4129c2d2d72cfedbfd08ae19ea5c3014e5ec9bf029736405f665')
+b2sums=('8df9ce0f9bb28cc3e04e04d2ba9301fa4e5e272a9b3f49d82b93dadf094a6bea2a9e5031e6f98752656a1c86c7180d3b31930f2712f52d2574b88d033cf4352d')
+
+_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