From 12683ee9805775ee297f8a6eb687d3d1ce2f323a Mon Sep 17 00:00:00 2001 From: Archlinux-Jerry Build Bot Date: Sun, 1 Mar 2020 07:47:39 +0800 Subject: [PATCH] autoupdate: yay to 9.4.6-2 from aur --- yay/PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/yay/PKGBUILD b/yay/PKGBUILD index 4cfb0c6..d5ffbbc 100644 --- a/yay/PKGBUILD +++ b/yay/PKGBUILD @@ -1,9 +1,9 @@ # Maintainer: Jguer pkgname=yay -pkgver=9.4.5 -pkgrel=1 +pkgver=9.4.6 +pkgrel=2 pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." -arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64') +arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') url="https://github.com/Jguer/yay" license=('GPL') depends=( @@ -15,11 +15,12 @@ makedepends=( 'go' ) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz") -sha1sums=('9a5f16b07569133b5e62998018605d4e96d02ac2') +sha1sums=('a3b2dd86fda1cc5998899cd69df2102e57ab8fbc') build() { + export GOPATH="$srcdir"/gopath cd "$srcdir/$pkgname-$pkgver" - EXTRA_GOFLAGS="-gcflags all=-trimpath=${PWD} -asmflags all=-trimpath=${PWD}" \ + EXTRA_GOFLAGS="-modcacherw -gcflags all=-trimpath=${PWD} -asmflags all=-trimpath=${PWD}" \ LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\"" \ make VERSION=$pkgver DESTDIR="$pkgdir" build }