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

Christian Rebischke shibumi at gemini.archlinux.org
Sat Jan 15 05:59:20 UTC 2022


    Date: Saturday, January 15, 2022 @ 05:59:20
  Author: shibumi
Revision: 1104087

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  152 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-15 05:59:14 UTC (rev 1104086)
+++ PKGBUILD	2022-01-15 05:59:20 UTC (rev 1104087)
@@ -1,76 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.21.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=('746af97cbefcfec58465019ad9877096fca9a0b91d80b40db35fdb9cb766aab8')
-b2sums=('49f7d18893bfac9f40b60016e8c510265e2aeeabdc423b3610e230946241ffb52a3b716cf4e1840505cc47f95578724153ea6e2262ce5fefffa4cb7cdf326f86')
-options=('!lto') # disable as soon as LTO problems are resolved
-
-_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 1104086, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-15 05:59:20 UTC (rev 1104087)
@@ -0,0 +1,76 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
+
+pkgname=pulumi
+pkgver=3.22.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=('06850b18b180c3c951a55b3ba7e3adc70816ca31bca4d4ee05eab0dd4b519db6')
+b2sums=('816ffb88c19aab5261c158ca97491a76abef1f0a7146f9c01b6656663df24faf7690addcff04e0ea89dbdbbcc4cff6077a650cfb76dc1e642a584b021f2d4e7c')
+options=('!lto') # disable as soon as LTO problems are resolved
+
+_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