diff options
author | Mark Wagie | 2021-02-18 08:19:42 -0700 |
---|---|---|
committer | Mark Wagie | 2021-02-18 08:19:42 -0700 |
commit | 76f5c0d789b33d616f386aa938e210898480e833 (patch) | |
tree | 155f67212cb9c2cff7e6676722a44e000d2fe01f | |
parent | 3e022daaacd59b8b308c6c469e3869f7e06d06e9 (diff) | |
download | aur-76f5c0d789b33d616f386aa938e210898480e833.tar.gz |
add GOPATH export to build()
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -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}" |