diff options
author | moson-mo | 2022-09-30 11:13:27 +0200 |
---|---|---|
committer | moson-mo | 2022-09-30 11:13:27 +0200 |
commit | 1f6cc21ab613868b7e2531e79b70679a203d9900 (patch) | |
tree | cb9f441662465e54487553156980576c45bf6a21 | |
parent | 7180b8e6dd8d8102494aec9224644f5bbf62df55 (diff) | |
download | aur-1f6cc21ab613868b7e2531e79b70679a203d9900.tar.gz |
define GOPATH
avoid placing go packages into the home folder during compilation
Signed-off-by: moson-mo <mo-son@mailbox.org>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = pacseek pkgdesc = A terminal user interface for searching and installing Arch Linux packages pkgver = 1.7.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/moson-mo/pacseek arch = x86_64 arch = aarch64 @@ -2,7 +2,7 @@ pkgname=pacseek pkgver=1.7.1 -pkgrel=1 +pkgrel=2 pkgdesc='A terminal user interface for searching and installing Arch Linux packages' arch=('x86_64' 'aarch64') url="https://github.com/moson-mo/$pkgname" @@ -21,6 +21,7 @@ prepare(){ build() { cd "$pkgname-$pkgver" + export GOPATH="$srcdir"/gopath export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" |