summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTravis CI User2020-02-07 07:14:01 +0000
committerTravis CI User2020-02-07 07:14:01 +0000
commitab3cfcb147e4c01f8fe5593c08618c91c5789a0c (patch)
tree4f513cf7ea947acdcc81bd6ae06cd9ce31c16414 /PKGBUILD
parent0f0725b965ff7559cbf1c5a482b481d029b96e8b (diff)
downloadaur-ab3cfcb147e4c01f8fe5593c08618c91c5789a0c.tar.gz
AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 24f0007b93f..853cc77f27c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: mzz2017 <m@mzz.pub>
pkgname=v2raya
-pkgver=0.6.5.1
+pkgver=0.6.5.2
pkgrel=1
install=.INSTALL
pkgdesc="一个支持全局透明代理且兼容 SS、SSR 的 V2Ray Linux GUI Client"
@@ -22,6 +22,12 @@ build() {
package() {
cd "V2RayA-$pkgver"
+
install -Dm644 "install/v2raya.service" "$pkgdir/usr/lib/systemd/system/v2raya.service"
install -Dm755 "service/v2raya" -t "$pkgdir/usr/bin/"
+
+ ICON_SOURCE=gui/public/img/icons
+ ICON_TARGET=/usr/share/icons
+ sudo install -Dm644 "$ICON_SOURCE/android-chrome-512x512.png" "$ICON_TARGET/v2raya.png"
+ sudo install -Dm755 "install/v2raya.desktop" -t "$pkgdir/usr/share/applications/"
}