autoupdate: yay to 10.0.0-1 from aur

This commit is contained in:
Archlinux-Jerry Build Bot 2020-06-14 06:51:47 +08:00
parent 3c3bba9b10
commit 85b72e93bf
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: Jguer <joaogg3@gmail.com>
pkgname=yay
pkgver=9.4.7
pkgver=10.0.0
pkgrel=1
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
@ -15,17 +15,17 @@ makedepends=(
'go'
)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
sha256sums=('ac42db3d31852d28c847785b7ac10b0934ffb746f19db99a03e67450d6c37e5e')
sha256sums=('58623457318bb726ee349c87a58c661eb1b91f265f0280391cd5fe3a0f40a215')
build() {
export GOPATH="$srcdir"/gopath
cd "$srcdir/$pkgname-$pkgver"
EXTRA_GOFLAGS="-modcacherw -trimpath" \
LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\"" \
make VERSION=$pkgver DESTDIR="$pkgdir" build
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
}