Package Details: redli 0.13.0-1

Git Clone URL: https://aur.archlinux.org/redli.git (read-only, click to copy)
Package Base: redli
Description: A humane alternative to the Redis-cli and TLS
Upstream URL: https://github.com/IBM-Cloud/redli
Licenses: Apache-2.0
Submitter: supermario
Maintainer: supermario
Last Packager: supermario
Votes: 0
Popularity: 0.000000
First Submitted: 2020-11-09 12:52 (UTC)
Last Updated: 2024-04-08 09:30 (UTC)

Latest Comments

magnus commented on 2020-12-19 07:44 (UTC)

Would you please consider setting GOPATH to avoid creating a ~/go as a side effect of building?

Something like this should work:

diff --git a/PKGBUILD b/PKGBUILD
index 28b0ba9..115e6bb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,7 @@ sha256sums=('802dbb6f7ce616856fb8dc3f7352826724711dfccda25eecaa90e27a9edd33ed')

 prepare() {
   cd redli-$pkgver
+  export GOPATH="${srcdir}/gopath"
   go mod vendor
 }

@@ -23,6 +24,7 @@ check() {

 build() {
   cd redli-$pkgver
+  export GOPATH="${srcdir}/gopath"
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"