summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Beaumont2019-10-01 11:13:45 +0200
committerMichael Beaumont2019-10-01 11:13:45 +0200
commit32eea929080df82530005fdbd5e0b0d318d3b606 (patch)
treebefdfd4ea381aa1f7c6a2a68e45c75b62a88f550
parent9ff888823402acbfcdb7a422d907993923efe78b (diff)
downloadaur-32eea929080df82530005fdbd5e0b0d318d3b606.tar.gz
Fix broken build on go 1.12
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aecd49886465..80a80c51dcd5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sops
pkgdesc = Editor of encrypted files that supports YAML, JSON and BINARY formats
pkgver = 3.4.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/mozilla/sops
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 9e49b2708279..c2335ff1a92c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=sops
pkgver=3.4.0
-pkgrel=1
+pkgrel=2
pkgdesc='Editor of encrypted files that supports YAML, JSON and BINARY formats'
arch=('i686' 'x86_64')
url='https://github.com/mozilla/sops'
@@ -19,7 +19,7 @@ prepare() {
build() {
cd src/go.mozilla.org/sops
- env GOPATH="${srcdir}" go build \
+ env GO111MODULE=on GOPATH="${srcdir}" go build \
-asmflags all="-trimpath=${PWD}" \
-gcflags all="-trimpath=${PWD}" \
-ldflags all="-extldflags=${LDFLAGS}" \