summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormzz20172021-10-10 12:44:18 +0800
committermzz20172021-10-10 12:44:18 +0800
commit893cc7aa90eb923409680d0ef2fb868e47a88d2a (patch)
treefd7dbfdcc61e9978c0ddf2966c4f5b551dd172f4 /PKGBUILD
parent5b4812f099ca99a6b24d41bbe709b3cf0bfa7fd7 (diff)
downloadaur-893cc7aa90eb923409680d0ef2fb868e47a88d2a.tar.gz
fix: 404 because aliyun golang mirror has no gitlab.com
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f7bc3684b7c..63cfaf407e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=v2raya
pkgver=1.5.4
-pkgrel=2
+pkgrel=3
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')
@@ -23,7 +23,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
}