Commit 2665baca authored by Galen Abell's avatar Galen Abell
Browse files

community/packer: upgrade to 1.7.3

parent 7f630d53
# Maintainer: Galen Abell <galen@galenabell.com>
# Contributor: Galen Abell <galen@galenabell.com>
pkgname=packer
pkgver=1.7.2
pkgrel=1
pkgver=1.7.3
pkgrel=0
pkgdesc="tool for creating machine images for multiple platforms"
url="https://www.packer.io/"
license="MPL-2.0"
arch="all"
makedepends="go"
options="net chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/packer/archive/v$pkgver.tar.gz"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
export GO111MODULE=auto
export GOPATH="$srcdir"
export GOLDFLAGS="-s -w -X main.GitCommit=v$pkgver"
build() {
export GOFLAGS="$GOFLAGS -trimpath"
export GOLDFLAGS="-s -w -X main.GitCommit=v$pkgver"
go build -v -o bin/$pkgname
}
check() {
go list -mod=vendor . | xargs -t -n4 go test -mod=vendor -timeout=2m -parallel=4
go list . | xargs -t -n4 go test -timeout=2m -parallel=4
bin/$pkgname -v
}
......@@ -28,9 +28,6 @@ package() {
install -Dm755 bin/"$pkgname" -t "$pkgdir"/usr/bin/
}
cleanup_srcdir() {
go clean -modcache
default_cleanup_srcdir
}
sha512sums="019bd07571ca59cb8fbf6edb5dc7f57af11c43b144986222c3d560a812f25d61bbc87a554963eea479f8bfe61abacca7173c4f12b1bc09ffaf78c269624c826e packer-1.7.2.tar.gz"
sha512sums="
ef858eebd98214614b47fff6e5af7fdaf384402d521822f5c2bc66b5869a9d8e99e007d34fef08ef35f2fcd33615f203a35e9cee8f4fc10e88e13c6140cf21d9 packer-1.7.3.tar.gz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment