blob: f87788ceaed31c9e9fea20202d549ace4e668269 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Maintainer: mzz2017 <m@mzz.pub>
pkgname=v2raya-bin
_pkgname=v2raya
pkgver=1.5.1
pkgrel=1
install=.INSTALL
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')
depends=('glibc')
optdepends=('v2ray>=4.37.0-1' 'xray>=1.4.2-1')
provides=('v2raya')
conflicts=('v2raya')
sha_service=0fcd700dbd5aa409b13bff64e738e566fc996881
sha_service_at=3fd341dde6e9a9d5ea828904042f9beb6028b289
sha_png=5c51b3e670733d6d1cf22e1cb5fe45305f4b8014
sha_desktop=f4abf270b2ce588a4e8ab4b5ccdc9168b96791fe
source=(
"v2raya.service"
"v2raya@.service"
"v2raya.png"
"v2raya.desktop"
)
source_i686=(
"v2raya_v${pkgver}::https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_linux_x86_v${pkgver}"
)
source_x86_64=(
"v2raya_v${pkgver}::https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_linux_x64_v${pkgver}"
)
source_aarch64=(
"v2raya_v${pkgver}::https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_linux_arm64_v${pkgver}"
)
source_armv6h=(
"v2raya_v${pkgver}::https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_linux_arm_v${pkgver}"
)
source_armv7h=(
"v2raya_v${pkgver}::https://apt.v2raya.mzz.pub/pool/main/v/v2raya/v2raya_linux_arm_v${pkgver}"
)
sha1sums=(
"$sha_service"
"$sha_service_at"
"$sha_png"
"$sha_desktop"
)
sha1sums_i686=(
'3e77a6e849ea64c00b8ca5453a87f4f95755a2cd'
)
sha1sums_x86_64=(
'bbc212308ec10c5b430534ba2999dc3a151db31e'
)
sha1sums_aarch64=(
'e5907eb423ee5959855c1c5439b750637469fe47'
)
sha1sums_armv6h=(
'470875616ef5c60370a3f9890bd46836fbd80b71'
)
sha1sums_armv7h=(
'470875616ef5c60370a3f9890bd46836fbd80b71'
)
package() {
cd "$srcdir"
install -Dm 755 v2raya_v"${pkgver}" "${pkgdir}"/usr/bin/v2raya
install -Dm 644 v2raya.desktop -t "${pkgdir}"/usr/share/applications/
install -Dm 644 v2raya.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 v2raya@.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm 644 v2raya.png "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/v2raya.png
}
|