generated from archlinux/template
fix: place GOPATH in srcdir
This commit is contained in:
parent
52631d6c47
commit
198f0cf87c
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = yay
|
||||
pkgdesc = Yet another yogurt. Pacman wrapper and AUR helper written in go.
|
||||
pkgver = 9.4.6
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/Jguer/yay
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
3
PKGBUILD
3
PKGBUILD
@ -1,7 +1,7 @@
|
||||
# Maintainer: Jguer <joaogg3@gmail.com>
|
||||
pkgname=yay
|
||||
pkgver=9.4.6
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
|
||||
arch=('i686' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
|
||||
url="https://github.com/Jguer/yay"
|
||||
@ -18,6 +18,7 @@ source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pk
|
||||
sha1sums=('a3b2dd86fda1cc5998899cd69df2102e57ab8fbc')
|
||||
|
||||
build() {
|
||||
export GOPATH="$srcdir"/gopath
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
EXTRA_GOFLAGS="-gcflags all=-trimpath=${PWD} -asmflags all=-trimpath=${PWD}" \
|
||||
LDFLAGS="-linkmode external -extldflags \"${LDFLAGS}\"" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user