mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-29 17:30:41 +08:00
autoupdate: yay to 9.4.6-2 from aur
This commit is contained in:
parent
1bbdc78b32
commit
12683ee980
1 changed files with 6 additions and 5 deletions
11
yay/PKGBUILD
11
yay/PKGBUILD
|
@ -1,9 +1,9 @@
|
||||||
# Maintainer: Jguer <joaogg3@gmail.com>
|
# Maintainer: Jguer <joaogg3@gmail.com>
|
||||||
pkgname=yay
|
pkgname=yay
|
||||||
pkgver=9.4.5
|
pkgver=9.4.6
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
|
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
|
||||||
url="https://github.com/Jguer/yay"
|
url="https://github.com/Jguer/yay"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=(
|
depends=(
|
||||||
|
@ -15,11 +15,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")
|
||||||
sha1sums=('9a5f16b07569133b5e62998018605d4e96d02ac2')
|
sha1sums=('a3b2dd86fda1cc5998899cd69df2102e57ab8fbc')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
export GOPATH="$srcdir"/gopath
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
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}\"" \
|
LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\"" \
|
||||||
make VERSION=$pkgver DESTDIR="$pkgdir" build
|
make VERSION=$pkgver DESTDIR="$pkgdir" build
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue