autoupdate: yay to 10.2.2-4 from aur

This commit is contained in:
Archlinux-Jerry Build Bot 2021-06-02 16:31:54 +08:00
parent 0f9deb38c5
commit 82d30a0479

View file

@ -1,7 +1,7 @@
# Maintainer: Jguer <joaogg3@gmail.com> # Maintainer: Jguer <joaogg3@gmail.com>
pkgname=yay pkgname=yay
pkgver=10.2.0 pkgver=10.2.2
pkgrel=1 pkgrel=4
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go." pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/Jguer/yay" url="https://github.com/Jguer/yay"
@ -17,7 +17,12 @@ makedepends=(
'go' 'go'
) )
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
sha256sums=('755d049ec09cc20bdcbb004b12ab4e35ba3bb94a7dce9dfa544d24f87deda8aa') sha256sums=('0e3fc11d6a26056d02db5aae863ca7b874578a94fe5c1250272a3bca376a24e2')
# With pacman 6 arriving a rebuild of yay will be necessary, if you upgrade pacman without upgrading yay at the same time, yay will not run after.
# I'm bumping the pkgrel so it shows up on the upgrade list (and will do so when pacman transitions from staging->core)
# In case you end up with a non-functioning yay after the upgrade follow the
# instructions on the github page
build() { build() {
export GOPATH="$srcdir"/gopath export GOPATH="$srcdir"/gopath
@ -28,7 +33,6 @@ build() {
export CGO_ENABLED=1 export CGO_ENABLED=1
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
LDFLAGS="-extldflags \"${LDFLAGS}\"" \
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
} }