summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormzz20172022-05-01 17:14:10 +0800
committermzz20172022-05-01 17:14:10 +0800
commit0e3846fc0f2a17e9f2f3f1a0eb2ca321f59ab37b (patch)
tree61a27272bb3630b7b4d2addaea8b50746b178bc8 /PKGBUILD
parentf6e3b2cb60c0869a128877bf34bf44d0b8f5b06f (diff)
downloadaur-0e3846fc0f2a17e9f2f3f1a0eb2ca321f59ab37b.tar.gz
fix GOPROXY
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fe1d4415b2fa..b6fa34e5f504 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=v2raya
pkgver=1.5.7
-pkgrel=1
+pkgrel=2
install=.INSTALL
pkgdesc="A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan and Pingtunnel protocols"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
@@ -21,7 +21,7 @@ build() {
cd "$srcdir/v2rayA-$pkgver/service"
export GO111MODULE=on
- export GOPROXY=https://mirrors.aliyun.com/goproxy/
+ export GOPROXY=https://mirrors.aliyun.com/goproxy/,direct
go build -ldflags '-X github.com/v2rayA/v2rayA/conf.Version='$pkgver' -s -w' -o v2raya
}