[arch-commits] Commit in v2ray/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Oct 19 18:08:30 UTC 2019
Date: Saturday, October 19, 2019 @ 18:08:30
Author: jelle
Revision: 517488
upgpkg: v2ray 4.20.0-3
golang 1.13.1 security rebuild
Modified:
v2ray/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-19 18:05:50 UTC (rev 517487)
+++ PKGBUILD 2019-10-19 18:08:30 UTC (rev 517488)
@@ -3,7 +3,7 @@
pkgname=v2ray
pkgver=4.20.0
-pkgrel=2
+pkgrel=3
pkgdesc="A platform for building proxies to bypass network restrictions"
arch=('x86_64')
url="https://github.com/v2ray/v2ray-core"
@@ -33,8 +33,13 @@
}
build() {
- go build -o v2ray v2ray.com/core/main
- go build -o v2ctl v2ray.com/core/infra/control/main
+ go build -trimpath \
+ -ldflags "-extldflags ${LDFLAGS}" \
+ -o v2ray v2ray.com/core/main
+
+ go build -trimpath \
+ -ldflags "-extldflags ${LDFLAGS}" \
+ -o v2ctl v2ray.com/core/infra/control/main
}
check() {
More information about the arch-commits
mailing list