add support for pacman 6.1

This commit is contained in:
jguer 2024-03-13 16:49:28 +01:00
parent 17f4503492
commit 1aeb6401d8
No known key found for this signature in database
GPG Key ID: 8E43FBD745BCAC49
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = yay
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
pkgver = 12.3.1
pkgrel = 1
pkgrel = 2
url = https://github.com/Jguer/yay
arch = i686
arch = pentium4

View File

@ -1,7 +1,7 @@
# Maintainer: Jguer <pkgbuilds at jguer.space>
pkgname=yay
pkgver=12.3.1
pkgrel=1
pkgrel=2
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
url="https://github.com/Jguer/yay"
@ -25,6 +25,7 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="${GOFLAGS} $(pacman -T 'libalpm.so=14-64' > /dev/null && echo "-tags=next")"
export CGO_ENABLED=1
cd "$srcdir/$pkgname-$pkgver"