[arch-commits] Commit in pulumi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Dec 4 23:26:36 UTC 2021
Date: Saturday, December 4, 2021 @ 23:26:35
Author: shibumi
Revision: 1065096
archrelease: copy trunk to community-x86_64
Added:
pulumi/repos/community-x86_64/PKGBUILD
(from rev 1065095, pulumi/trunk/PKGBUILD)
Deleted:
pulumi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-04 23:26:30 UTC (rev 1065095)
+++ PKGBUILD 2021-12-04 23:26:35 UTC (rev 1065096)
@@ -1,75 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Christoph Gysin <christoph.gysin at gmail.com>
-
-pkgname=pulumi
-pkgver=3.18.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=('d37ca0c536ccc4fde78fd9bdf585c5eb238f056da01f043e93ce7e3fd83ec3d4')
-b2sums=('04b2ef741943fa8bd7863837ce28caae269f854a2c203c89bf8acb4c5f9bdb262d5793fe37359c135d5cbe5b5d16bfb00f94c23ed1c2b3ec311c42db333427d3')
-
-_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 1065095, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-04 23:26:35 UTC (rev 1065096)
@@ -0,0 +1,75 @@
+# 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:
More information about the arch-commits
mailing list