1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION
="A platform for building proxies to bypass network restrictions."
10 HOMEPAGE
="https://www.v2fly.org"
12 amd64? ( https://github.com/v2fly/v2ray-core/releases/download/$MY_PV/v2ray-linux-64.zip -> v2ray-$PV-linux-64.zip )
13 x86? ( https://github.com/v2fly/v2ray-core/releases/download/$MY_PV/v2ray-linux-32.zip -> v2ray-$PV-linux-32.zip )
14 arm? ( https://github.com/v2fly/v2ray-core/releases/download/$MY_PV/v2ray-linux-arm32-v7a.zip -> v2ray-$PV-linux-arm.zip )
15 arm? ( https://github.com/v2fly/v2ray-core/releases/download/$MY_PV/v2ray-linux-arm64-v8a.zip -> v2ray-$PV-linux-arm64.zip )
20 KEYWORDS
="~amd64 ~arm ~arm64 ~x86"
23 DEPEND
="!net-proxy/v2ray"
41 insinto
/usr
/share
/v2ray
47 newinitd
"${FILESDIR}/v2ray.initd" v2ray
48 systemd_dounit
"${FILESDIR}/v2ray.service"
49 systemd_newunit
"${FILESDIR}/v2ray_at.service" "v2ray@.service"