[arch-commits] Commit in packer/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Jun 13 02:40:56 UTC 2020
Date: Saturday, June 13, 2020 @ 02:40:56
Author: shibumi
Revision: 642689
upgpkg: packer 1.6.0-1 modify go flags
Modified:
packer/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-13 02:27:48 UTC (rev 642688)
+++ PKGBUILD 2020-06-13 02:40:56 UTC (rev 642689)
@@ -1,7 +1,7 @@
# Maintainer: Christian Rebischke <Chris.Rebischke[at]archlinux[dot]org>
pkgname=packer
replaces=('packer-io')
-pkgver=1.5.6
+pkgver=1.6.0
pkgrel=1
pkgdesc="tool for creating identical machine images for multiple platforms from a single source configuration"
arch=('x86_64')
@@ -10,7 +10,7 @@
makedepends=('git' 'go-pie' 'go-tools')
depends=('glibc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hashicorp/packer/archive/v${pkgver}.tar.gz")
-sha512sums=('993f54a1bf98abd5bc450bafaf202fbbfbad009b661d49783ff82cba9891b8556340801680c0fdc33b90396a3101a2ed93a11798ad51c10d7bd5f81fef4f5a31')
+sha512sums=('1ae912ea6f4906dff988b59d4b3e964fabd7fc13b8b936af02b5ed9963557cb057b26aabdc542091a7d31a162780b1c536fbc38f4ec3b42800f9167f37f814b1')
changelog=CHANGELOG.md
prepare() {
@@ -23,7 +23,13 @@
build() {
cd "src/github.com/hashicorp/${pkgname}"
- go build -o packer-binary
+ go build \
+ -trimpath \
+ -mod=readonly \
+ -buildmode=pie \
+ -modcacherw \
+ -ldflags "-extldflags \"${LDFLAGS}\"" \
+ -o packer-binary
}
check() {
More information about the arch-commits
mailing list