community/packer: upgrade to 1.8.7

This commit is contained in:
Galen Abell 2023-05-05 09:24:51 +02:00 committed by alice
parent 80253b5b81
commit 1ac3187640

View File

@ -1,8 +1,8 @@
# Maintainer: Galen Abell <galen@galenabell.com> # Maintainer: Galen Abell <galen@galenabell.com>
# Contributor: Galen Abell <galen@galenabell.com> # Contributor: Galen Abell <galen@galenabell.com>
pkgname=packer pkgname=packer
pkgver=1.8.6 pkgver=1.8.7
pkgrel=2 pkgrel=0
pkgdesc="tool for creating machine images for multiple platforms" pkgdesc="tool for creating machine images for multiple platforms"
url="https://www.packer.io/" url="https://www.packer.io/"
license="MPL-2.0" license="MPL-2.0"
@ -17,8 +17,8 @@ export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
export GOFLAGS="$GOFLAGS -trimpath" export GOFLAGS="$GOFLAGS -trimpath"
build() { build() {
export GOLDFLAGS="-X main.GitCommit=v$pkgver" export GOLDFLAGS="-X github.com/hashicorp/packer/version.Version=$pkgver -X github.com/hashicorp/packer/version.VersionPrerelease="
go build -v -o bin/$pkgname go build -v -o bin/$pkgname -ldflags="$GOLDFLAGS"
} }
check() { check() {
@ -31,5 +31,5 @@ package() {
} }
sha512sums=" sha512sums="
1e0e36959f1efb6eeae076da3d27c200f4888a6a08e759072ac6c767e1cc3e14876f09f96bdd208b788d32efde9420357afe3105337b7edcc87ba2d99966578c packer-1.8.6.tar.gz 94f33489347f1ce90bc44943f20f40dc683680f0cc28c4a6a718f9aa1cb7228899573633b09f421bf8330b41b71dbffe17e101e75bd688db25f424b8b05470fd packer-1.8.7.tar.gz
" "