diff options
author | Samuel Walladge | 2020-12-15 08:12:54 +1030 |
---|---|---|
committer | Samuel Walladge | 2020-12-15 08:12:54 +1030 |
commit | 8f347a4379b6d32fabcd33b131b68e8096802c38 (patch) | |
tree | cdeb067d2c97d76c8c15149ab8d1102575fd784e | |
parent | 48fe3a7a55bc25d1f5baf942682d2bf69af04615 (diff) | |
download | aur-8f347a4379b6d32fabcd33b131b68e8096802c38.tar.gz |
Add GOFLAGS to workaround
https://github.com/Jguer/yay/issues/1264
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = peco pkgdesc = Simplistic interactive filtering tool pkgver = 0.5.8 - pkgrel = 2 + pkgrel = 3 url = https://github.com/peco/peco arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ pkgname=peco pkgver=0.5.8 -pkgrel=2 +pkgrel=3 pkgdesc='Simplistic interactive filtering tool' arch=('i686' 'x86_64') url='https://github.com/peco/peco' @@ -13,6 +13,7 @@ sha256sums=('90d87503265c12f8583f5c6bc19c83eba7a2e15219a6339d5041628aa48c4705') build() { cd "${srcdir}/${pkgname}-${pkgver}/" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -modcacherw" export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin" GO111MODULE=on mkdir -p out go mod download |