diff options
author | Michael Beaumont | 2019-10-01 11:13:45 +0200 |
---|---|---|
committer | Michael Beaumont | 2019-10-01 11:13:45 +0200 |
commit | 32eea929080df82530005fdbd5e0b0d318d3b606 (patch) | |
tree | befdfd4ea381aa1f7c6a2a68e45c75b62a88f550 | |
parent | 9ff888823402acbfcdb7a422d907993923efe78b (diff) | |
download | aur-32eea929080df82530005fdbd5e0b0d318d3b606.tar.gz |
Fix broken build on go 1.12
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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}" \ |