autoupdate: yay to 9.4.6-2 from aur

This commit is contained in:
Archlinux-Jerry Build Bot 2020-03-01 07:47:39 +08:00
parent 1bbdc78b32
commit 12683ee980

View file

@ -1,9 +1,9 @@
# Maintainer: Jguer <joaogg3@gmail.com>
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
}