summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Furman2017-08-15 20:15:05 +0100
committerzimbatm2017-08-15 20:15:05 +0100
commitbda1fc4fb1b64564cac8c5a3cf6133f4f847413b (patch)
treebd7d2e56cf0dc14d98490756304c1297e67da7bc
parent063048507fde5f43994afeb717ecf53c6649138e (diff)
downloadaur-bda1fc4fb1b64564cac8c5a3cf6133f4f847413b.tar.gz
GOPATH needs to be exported to make direnv (#7)
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 91f8e5ee77b..f180f693139 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,11 +20,13 @@ prepare() {
}
build() {
+ export GOPATH=$srcdir/go
cd "$GOPATH/src/$gopackagepath"
make
}
package() {
+ export GOPATH=$srcdir/go
cd "$GOPATH/src/$gopackagepath"
make install DESTDIR=$pkgdir/usr
}