Date: Sunday, July 24, 2022 @ 14:30:11 Author: shibumi Revision: 1255928
archrelease: copy trunk to community-x86_64 Added: terraform/repos/community-x86_64/PKGBUILD (from rev 1255927, terraform/trunk/PKGBUILD) terraform/repos/community-x86_64/terraform.bash (from rev 1255927, terraform/trunk/terraform.bash) terraform/repos/community-x86_64/terraform.fish (from rev 1255927, terraform/trunk/terraform.fish) terraform/repos/community-x86_64/terraform.zsh (from rev 1255927, terraform/trunk/terraform.zsh) Deleted: terraform/repos/community-x86_64/PKGBUILD terraform/repos/community-x86_64/terraform.bash terraform/repos/community-x86_64/terraform.fish terraform/repos/community-x86_64/terraform.zsh ----------------+ PKGBUILD | 116 +++++++++++++++++++++++++++---------------------------- terraform.bash | 2 terraform.fish | 18 ++++---- terraform.zsh | 6 +- 4 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-24 14:30:01 UTC (rev 1255927) +++ PKGBUILD 2022-07-24 14:30:11 UTC (rev 1255928) @@ -1,58 +0,0 @@ -# Maintainer: Jerome Leclanche <jer...@leclan.ch> -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Maintainer: Daurnimator <daurnima...@archlinux.org> - -pkgname=terraform -pkgver=1.2.3 -pkgrel=1 -pkgdesc="HashiCorp tool for building and updating infrastructure as code idempotently" -url="https://github.com/hashicorp/terraform" -arch=("x86_64") -license=("MPL") -makedepends=('go') -depends=('glibc') -optdepends=('diffutils: for running `terraform fmt -diff`') -options=('!lto') -source=("$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/terraform/archive/v$pkgver.tar.gz" - "terraform.bash" - "terraform.fish" - "terraform.zsh") -sha512sums=('f2aa7436ac82fad365fbae22428984c6a62cb9a7ffa339af035c06f5002fae1b3b440265fdb97e0f4a4aeaebf3838f5a05cd3c40bca1a50273f0560ad4482fda' - 'ea42bfc41288e5ad741fcddfbd5c1f8ba0088be0967b820db1e12e1dc13d1ba242b9cc1c247bf29c36ec59cdce76ff6703cf6b3f76cca5ec441a4927a01afe7d' - '44b387fbd7b6abb8f524999d3d5f14fd4d5be54b2b34336a708c6a493c93c886a7230d3102601604f62cf95c53e91de683919213d0e1473ee84e606030d249e3' - 'ad991daf40f68c11fa66256177a04d97bd38d6a89c554d6261489d4de703852628ffc37429d862237ca24e15f6a7c915cfa027731189ac89a27f7b20c72ab4c9') -b2sums=('120db2c139726b3c1a5c76dcf048de6508f0a99b1f7a8abc2bc7fdb596a72453b4543806090062d804d68157dcb42255119e9e13c462668077baeca83016d287' - 'd047735bbb006e9afbaa4b18af7a7f16a205ec528e91caa61a0b663dd6e24ec1df999216f0b7bd06e3b3c087b37f6ce3aa3cf3a20c892a9cc1962d33ce1b0bcc' - 'd3655f23ba8893d0f8c6cd5e8b42fae473ccfbc77d97b7424aa1f0d0057bfed6cb4d2505e74dd89099c39af6bc03b92eddedae5bb2821ff905d06b5e311be1f0' - 'd58712c8203e4a58ec68738f3d22457547a55d230018408400fd1ca433346171b72fa4a87f05efc93213c71f9757d3a8072149ca4e6894355e79f8cfae3bd55b') - -prepare() { - cd "$pkgname-$pkgver" - go mod download -} - -build() { - cd "$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 -ldflags=-linkmode=external" - export GOPROXY=off - go build -o terraform-binary -} - -check() { - cd "${pkgname}-${pkgver}" - go test -mod=readonly ./... -} - -package() { - install -Dm644 terraform.bash "$pkgdir/usr/share/bash-completion/completions/terraform" - install -Dm644 terraform.fish "${pkgdir}/usr/share/fish/vendor_completions.d/terraform.fish" - install -Dm644 terraform.zsh "$pkgdir/usr/share/zsh/site-functions/_terraform" - - cd "$pkgname-$pkgver" - install -Dm755 terraform-binary "$pkgdir/usr/bin/terraform" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: terraform/repos/community-x86_64/PKGBUILD (from rev 1255927, terraform/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-24 14:30:11 UTC (rev 1255928) @@ -0,0 +1,58 @@ +# Maintainer: Jerome Leclanche <jer...@leclan.ch> +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Maintainer: Daurnimator <daurnima...@archlinux.org> + +pkgname=terraform +pkgver=1.2.4 +pkgrel=1 +pkgdesc="HashiCorp tool for building and updating infrastructure as code idempotently" +url="https://github.com/hashicorp/terraform" +arch=("x86_64") +license=("MPL") +makedepends=('go') +depends=('glibc') +optdepends=('diffutils: for running `terraform fmt -diff`') +options=('!lto') +source=("$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/terraform/archive/v$pkgver.tar.gz" + "terraform.bash" + "terraform.fish" + "terraform.zsh") +sha512sums=('43dfc4745dbcb3f29577fac610771258c5a9551bf33019d1f6bd3059a808cd365f432842c565522c530b03abf18aeada53fc390604eaeafce4464afd9edcb463' + 'ea42bfc41288e5ad741fcddfbd5c1f8ba0088be0967b820db1e12e1dc13d1ba242b9cc1c247bf29c36ec59cdce76ff6703cf6b3f76cca5ec441a4927a01afe7d' + '44b387fbd7b6abb8f524999d3d5f14fd4d5be54b2b34336a708c6a493c93c886a7230d3102601604f62cf95c53e91de683919213d0e1473ee84e606030d249e3' + 'ad991daf40f68c11fa66256177a04d97bd38d6a89c554d6261489d4de703852628ffc37429d862237ca24e15f6a7c915cfa027731189ac89a27f7b20c72ab4c9') +b2sums=('51b9353dfe40e988c8c621f9e09ec9d3e8facfa7b682832671b3f0f12f52d0836dd6ff1851bebfe6ca590248cd029c508dc35b437b637a51ace4c36ad5807730' + 'd047735bbb006e9afbaa4b18af7a7f16a205ec528e91caa61a0b663dd6e24ec1df999216f0b7bd06e3b3c087b37f6ce3aa3cf3a20c892a9cc1962d33ce1b0bcc' + 'd3655f23ba8893d0f8c6cd5e8b42fae473ccfbc77d97b7424aa1f0d0057bfed6cb4d2505e74dd89099c39af6bc03b92eddedae5bb2821ff905d06b5e311be1f0' + 'd58712c8203e4a58ec68738f3d22457547a55d230018408400fd1ca433346171b72fa4a87f05efc93213c71f9757d3a8072149ca4e6894355e79f8cfae3bd55b') + +prepare() { + cd "$pkgname-$pkgver" + go mod download +} + +build() { + cd "$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 -ldflags=-linkmode=external" + export GOPROXY=off + go build -o terraform-binary +} + +check() { + cd "${pkgname}-${pkgver}" + go test -mod=readonly ./... +} + +package() { + install -Dm644 terraform.bash "$pkgdir/usr/share/bash-completion/completions/terraform" + install -Dm644 terraform.fish "${pkgdir}/usr/share/fish/vendor_completions.d/terraform.fish" + install -Dm644 terraform.zsh "$pkgdir/usr/share/zsh/site-functions/_terraform" + + cd "$pkgname-$pkgver" + install -Dm755 terraform-binary "$pkgdir/usr/bin/terraform" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Deleted: terraform.bash =================================================================== --- terraform.bash 2022-07-24 14:30:01 UTC (rev 1255927) +++ terraform.bash 2022-07-24 14:30:11 UTC (rev 1255928) @@ -1 +0,0 @@ -complete -C /usr/bin/terraform terraform Copied: terraform/repos/community-x86_64/terraform.bash (from rev 1255927, terraform/trunk/terraform.bash) =================================================================== --- terraform.bash (rev 0) +++ terraform.bash 2022-07-24 14:30:11 UTC (rev 1255928) @@ -0,0 +1 @@ +complete -C /usr/bin/terraform terraform Deleted: terraform.fish =================================================================== --- terraform.fish 2022-07-24 14:30:01 UTC (rev 1255927) +++ terraform.fish 2022-07-24 14:30:11 UTC (rev 1255928) @@ -1,9 +0,0 @@ - -function __complete_terraform - set -lx COMP_LINE (string join ' ' (commandline -o)) - test (commandline -ct) = "" - and set COMP_LINE "$COMP_LINE " - /usr/bin/terraform -end -complete -c terraform -a "(__complete_terraform)" - Copied: terraform/repos/community-x86_64/terraform.fish (from rev 1255927, terraform/trunk/terraform.fish) =================================================================== --- terraform.fish (rev 0) +++ terraform.fish 2022-07-24 14:30:11 UTC (rev 1255928) @@ -0,0 +1,9 @@ + +function __complete_terraform + set -lx COMP_LINE (string join ' ' (commandline -o)) + test (commandline -ct) = "" + and set COMP_LINE "$COMP_LINE " + /usr/bin/terraform +end +complete -c terraform -a "(__complete_terraform)" + Deleted: terraform.zsh =================================================================== --- terraform.zsh 2022-07-24 14:30:01 UTC (rev 1255927) +++ terraform.zsh 2022-07-24 14:30:11 UTC (rev 1255928) @@ -1,3 +0,0 @@ -#compdef terraform -autoload -U +X bashcompinit && bashcompinit -complete -o nospace -C /usr/bin/terraform terraform Copied: terraform/repos/community-x86_64/terraform.zsh (from rev 1255927, terraform/trunk/terraform.zsh) =================================================================== --- terraform.zsh (rev 0) +++ terraform.zsh 2022-07-24 14:30:11 UTC (rev 1255928) @@ -0,0 +1,3 @@ +#compdef terraform +autoload -U +X bashcompinit && bashcompinit +complete -o nospace -C /usr/bin/terraform terraform