blob: 14a245df759852f8a432b27991fd8c6285174a3c (
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
|
# Maintainer: database64128 <free122448@hotmail.com>
pkgname=qv2ray-static-nightly-bin
pkgver=20211215
pkgrel=1
pkgdesc="A cross platform connection manager for V2Ray and other backends"
arch=(x86_64)
url="https://github.com/Shadowsocks-NET/Qv2ray"
license=('GPL3')
depends=('brotli' 'double-conversion' 'fontconfig' 'glibc' 'libb2' 'libcups' 'libgl' 'libinput'
'libjpeg-turbo' 'libproxy' 'libxi' 'libxkbcommon-x11' 'libxrender' 'mesa' 'shared-mime-info'
'tslib' 'xcb-util-cursor' 'xcb-util-keysyms' 'xcb-util-wm' 'xdg-utils')
makedepends=('jq')
optdepends=('v2ray: use packaged v2ray')
provides=('qv2ray')
conflicts=('qv2ray' 'xray')
release=$(curl -s https://api.github.com/repos/Shadowsocks-NET/QvStaticBuild/releases/latest)
pkgver() {
echo $release | jq -r '.tag_name' | sed 's/^nightly-//;s/-//g'
}
package() {
curl -Lo $pkgver.tar.zst $(echo $release | jq -r '.assets[0].browser_download_url')
mkdir $pkgdir/usr
tar -C $pkgdir/usr -xvf $pkgver.tar.zst
}
|