diff options
author | mzz2017 | 2020-09-05 08:56:18 +0000 |
---|---|---|
committer | mzz2017 | 2020-09-05 08:56:18 +0000 |
commit | 752c4d593f2732ba3d82f46078f4306efca10fb8 (patch) | |
tree | 3c5884ddf06467c3a8ac8ad5395b5b67ab031dba | |
parent | d3b4c0372232179203dce73a3328edf6d3ccc81a (diff) | |
download | aur-752c4d593f2732ba3d82f46078f4306efca10fb8.tar.gz |
release v1.0.1
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 14 insertions, 9 deletions
@@ -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.0.0 + pkgver = 1.0.1 pkgrel = 1 url = https://github.com/mzz2017/v2rayA install = .INSTALL @@ -10,12 +10,12 @@ pkgbase = v2raya arch = armv6h arch = aarch64 license = GPL - makedepends = go>=2:1.11.3-1 - makedepends = nodejs>=12.13.0-1 - makedepends = npm + makedepends = go>=2:1.12.3-1 + makedepends = nodejs>=14 + makedepends = yarn depends = glibc depends = v2ray - source = v2raya-1.0.0.tar.gz::https://github.com/mzz2017/v2rayA/archive/v1.0.0.tar.gz + source = v2raya-1.0.1.tar.gz::https://github.com/mzz2017/v2rayA/archive/v1.0.1.tar.gz sha512sums = SKIP pkgname = v2raya @@ -1,7 +1,7 @@ # Maintainer: mzz2017 <m@mzz.pub> pkgname=v2raya -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 install=.INSTALL pkgdesc="A web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and Pingtunnel protocols" @@ -9,16 +9,21 @@ arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64') url="https://github.com/mzz2017/v2rayA" license=('GPL') depends=('glibc' 'v2ray') -makedepends=('go>=2:1.12.3-1' 'nodejs>=12.13.0-1' 'npm') +makedepends=('go>=2:1.12.3-1' 'nodejs>=14' 'yarn') source=("$pkgname-$pkgver.tar.gz::https://github.com/mzz2017/v2rayA/archive/v$pkgver.tar.gz") sha512sums=('SKIP') build() { - cd "v2rayA-$pkgver/service" + cd "$srcdir/v2rayA-$pkgver/gui" + yarn config set registry https://registry.npm.taobao.org + yarn config set sass_binary_site https://cdn.npm.taobao.org/dist/node-sass -g + yarn + yarn build + + cd "$srcdir/v2rayA-$pkgver/service" export GO111MODULE=on export GOPROXY=https://goproxy.io go build -ldflags="-X github.com/mzz2017/v2rayA/global.Version=$pkgver" -o v2raya - cd ../gui && npm install --registry https://registry.npm.taobao.org && npm run build } package() { |