summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormzz20172020-12-17 09:24:16 +0000
committermzz20172020-12-17 09:24:16 +0000
commit66299704a47a67c5aca73f1f375080e2ed2b8d26 (patch)
treecce556f4276b6399806f1b8e2d683b86ccf8a11c
parent373439338731f73d1b3f7942b7a3bd71ec84cb95 (diff)
downloadaur-66299704a47a67c5aca73f1f375080e2ed2b8d26.tar.gz
release v1.1.3
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 186b8b5d33f..00a49c09242 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = v2raya
- pkgdesc = A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and Pingtunnel protocols
- pkgver = 1.1.2
+ pkgdesc = A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan and Pingtunnel protocols
+ pkgver = 1.1.3
pkgrel = 1
url = https://github.com/v2rayA/v2rayA
install = .INSTALL
@@ -16,7 +16,7 @@ pkgbase = v2raya
makedepends = python2
depends = glibc
depends = v2ray
- source = v2raya-1.1.2.tar.gz::https://github.com/v2rayA/v2rayA/archive/v1.1.2.tar.gz
+ source = v2raya-1.1.3.tar.gz::https://github.com/v2rayA/v2rayA/archive/v1.1.3.tar.gz
sha512sums = SKIP
pkgname = v2raya
diff --git a/PKGBUILD b/PKGBUILD
index a2d6e699146..d511ad96628 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: mzz2017 <m@mzz.pub>
pkgname=v2raya
-pkgver=1.1.2
+pkgver=1.1.3
pkgrel=1
install=.INSTALL
-pkgdesc="A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and Pingtunnel protocols"
+pkgdesc="A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan and Pingtunnel protocols"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/v2rayA/v2rayA"
license=('GPL3')
@@ -23,7 +23,7 @@ build() {
cd "$srcdir/v2rayA-$pkgver/service"
export GO111MODULE=on
export GOPROXY=https://goproxy.io
- go build -ldflags="-X github.com/v2rayA/v2rayA/global.Version=$pkgver -s -w" -o v2raya
+ CGO_ENABLED=0 go build -ldflags '-X github.com/v2rayA/v2rayA/global.Version=$pkgver -s -w -extldflags "-static"' -o v2raya
}
package() {
@@ -31,6 +31,7 @@ package() {
install -Dm 755 service/v2raya -t "${pkgdir}"/usr/bin/
find web -type d -exec install -vd "${pkgdir}"/etc/v2raya/{} \;
find web -type f -exec install -vm 644 {} "${pkgdir}"/etc/v2raya/{} \;
+ install -dm 750 "${pkgdir}"/etc/v2raya/
install -Dm 644 install/universal/v2raya.desktop -t "${pkgdir}"/usr/share/applications/
install -Dm 644 install/universal/v2raya.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 gui/public/img/icons/android-chrome-512x512.png "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/v2raya.png