[arch-commits] Commit in pulumi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Mon Nov 29 00:43:03 UTC 2021
Date: Monday, November 29, 2021 @ 00:43:03
Author: shibumi
Revision: 1056007
archrelease: copy trunk to community-x86_64
Added:
pulumi/repos/community-x86_64/PKGBUILD
(from rev 1056006, pulumi/trunk/PKGBUILD)
Deleted:
pulumi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 00:42:56 UTC (rev 1056006)
+++ PKGBUILD 2021-11-29 00:43:03 UTC (rev 1056007)
@@ -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.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=('3547f5a0223e1f2aafa79898f4d72dc433e15b9000714023ecf84d225bd74fa7')
-b2sums=('5eb2fba1ba84ad2eb244b2c8b0ad6feca7096d4ef8ae2e236f74b503edeab10fd0dc14063213cafb2abd8b4734a0645dabe481e507fe2bc5968cf95284902bb3')
-
-_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 1056006, pulumi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 00:43:03 UTC (rev 1056007)
@@ -0,0 +1,75 @@
+# 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:
More information about the arch-commits
mailing list