summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis CI User2019-11-27 18:38:56 +0000
committerTravis CI User2019-11-27 18:38:56 +0000
commitb942fa1c7297baf981d17e857a792cfc59f16b8e (patch)
tree5b6047e91673a861e01a3d7b02d51a000d84cadc
parent303148cc3a437bac2ea1efed3f759a9676e12e45 (diff)
downloadaur-b942fa1c7297baf981d17e857a792cfc59f16b8e.tar.gz
AUR
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d39d83c3166..2a031f98387 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = v2raya
pkgdesc = V2RayA是一个支持全局透明代理的V2Ray Linux客户端。
- pkgver = 0.4.1
+ pkgver = 0.4.2
pkgrel = 1
url = https://github.com/mzz2017/V2RayA
install = .INSTALL
@@ -13,7 +13,7 @@ pkgbase = v2raya
makedepends = go>=2:1.11.3-1
depends = glibc
depends = v2ray
- source = v2raya-0.4.1.tar.gz::https://github.com/mzz2017/V2RayA/archive/v0.4.1.tar.gz
+ source = v2raya-0.4.2.tar.gz::https://github.com/mzz2017/V2RayA/archive/v0.4.2.tar.gz
sha512sums = SKIP
pkgname = v2raya
diff --git a/PKGBUILD b/PKGBUILD
index 61e06360a35..c97e6e77aa6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: mzz2017 <m@mzz.pub>
pkgname=v2raya
-pkgver=0.4.1
+pkgver=0.4.2
pkgrel=1
install=.INSTALL
pkgdesc="V2RayA是一个支持全局透明代理的V2Ray Linux客户端。"
@@ -13,13 +13,10 @@ makedepends=('go>=2:1.11.3-1')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mzz2017/V2RayA/archive/v$pkgver.tar.gz")
sha512sums=('SKIP')
-prepare() {
- export GO111MODULE=on
- export GOPROXY=https://goproxy.io
-}
-
build() {
cd "V2RayA-$pkgver/service"
+ export GO111MODULE=on
+ export GOPROXY=https://goproxy.io
go build -ldflags="-X V2RayA/global.Version=$pkgver" -o v2raya
}