summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis CI User2020-02-28 10:19:58 +0000
committerTravis CI User2020-02-28 10:19:58 +0000
commitcd7fec8b918a554897671a0d7597b1f808ef3361 (patch)
tree62eb2008241619a6926cf4673969a802e2fcd1fe
parent120104377e8b160d468d337c3b0d209ba26c0f00 (diff)
downloadaur-cd7fec8b918a554897671a0d7597b1f808ef3361.tar.gz
AUR
-rw-r--r--.INSTALL20
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
3 files changed, 11 insertions, 23 deletions
diff --git a/.INSTALL b/.INSTALL
index 1edeb9630b9..a9546c09ed5 100644
--- a/.INSTALL
+++ b/.INSTALL
@@ -1,7 +1,6 @@
-post_install() {
- :
- #!/bin/sh
+#!/bin/sh
+post_install() {
systemctl daemon-reload
systemctl enable v2raya
systemctl start v2raya
@@ -18,12 +17,9 @@ post_install() {
$ECHO "\033[36m* HTTPS demo: https://v2raya.mzz.pub *\033[0m"
$ECHO "\033[36m* HTTP demo: http://v.mzz.pub *\033[0m"
$ECHO "\033[36m**************************************\033[0m"
-
}
-post_upgrade() {
- :
- #!/bin/sh
+post_upgrade() {
systemctl daemon-reload
systemctl restart v2raya
@@ -39,22 +35,14 @@ post_upgrade() {
$ECHO "\033[36m* HTTPS demo: https://v2raya.mzz.pub *\033[0m"
$ECHO "\033[36m* HTTP demo: http://v.mzz.pub *\033[0m"
$ECHO "\033[36m**************************************\033[0m"
-
}
pre_remove() {
- :
- #!/bin/sh
-
systemctl disable v2raya
systemctl stop v2raya
systemctl stop v2ray
-
}
-post_remove() {
- :
- #!/bin/sh
+post_remove() {
systemctl daemon-reload
-
}
diff --git a/.SRCINFO b/.SRCINFO
index 85f085167d8..c8456da57ca 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = v2raya
- pkgdesc = 一个支持全局透明代理且兼容 SS、SSR 的 V2Ray Linux GUI Client
- pkgver = 0.6.7.1
+ pkgdesc = V2Ray Linux client with web GUI, compatible with SS and SSR, supporting transparent proxy
+ pkgver = 0.6.7.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.6.7.1.tar.gz::https://github.com/mzz2017/V2RayA/archive/v0.6.7.1.tar.gz
+ source = v2raya-0.6.7.2.tar.gz::https://github.com/mzz2017/V2RayA/archive/v0.6.7.2.tar.gz
sha512sums = SKIP
pkgname = v2raya
diff --git a/PKGBUILD b/PKGBUILD
index c2cebd34252..0eba65bd801 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: mzz2017 <m@mzz.pub>
pkgname=v2raya
-pkgver=0.6.7.1
+pkgver=0.6.7.2
pkgrel=1
install=.INSTALL
-pkgdesc="一个支持全局透明代理且兼容 SS、SSR 的 V2Ray Linux GUI Client"
+pkgdesc="V2Ray Linux client with web GUI, compatible with SS and SSR, supporting transparent proxy"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/mzz2017/V2RayA"
license=('GPL')
@@ -23,9 +23,9 @@ build() {
package() {
cd "V2RayA-$pkgver"
- install -Dm644 "install/v2raya.service" "$pkgdir/usr/lib/systemd/system/v2raya.service"
+ install -Dm644 "install/universal/v2raya.service" "$pkgdir/usr/lib/systemd/system/v2raya.service"
install -Dm755 "service/v2raya" -t "$pkgdir/usr/bin/"
install -Dm644 "gui/public/img/icons/android-chrome-512x512.png" "$pkgdir/usr/share/icons/v2raya.png"
- install -Dm755 "install/v2raya.desktop" -t "$pkgdir/usr/share/applications/"
+ install -Dm755 "install/universal/v2raya.desktop" -t "$pkgdir/usr/share/applications/"
}