mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/v2ray to 3.5-1
This commit is contained in:
parent
809507ef3e
commit
7a5431c6c7
1 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
# - fix install source path for ARM architectures
|
||||
|
||||
pkgname=v2ray
|
||||
pkgver=3.4
|
||||
pkgver=3.5
|
||||
pkgrel=1
|
||||
pkgdesc="A platform for building proxies to bypass network restrictions"
|
||||
arch=('x86_64')
|
||||
|
@ -15,7 +15,7 @@ license=('MIT')
|
|||
makedepends=('go' 'git')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
|
||||
'v2ray.service')
|
||||
sha512sums=('0c033b017703234e944e8f66a30abf9d6a6db8871c56ba0a662d4e2cddafa894728c745ab27b6dc2ca603585283d38dc8258f47a64f3bb2977c3fe2d16fec471'
|
||||
sha512sums=('eafdd30e0726994d3eb741c9f8bed1c684597cc22b37bd6770af975577d14a881b5931b9b034e7ab18136eea3c2158528c1771506fd46cb16997a6cc0018ee31'
|
||||
'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
|
||||
|
||||
prepare() {
|
||||
|
@ -40,9 +40,9 @@ check() {
|
|||
package() {
|
||||
cd v2ray-core-$pkgver
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
|
||||
install -Dm644 tools/release/config/systemd/v2ray.service ${pkgdir}/usr/lib/systemd/system/v2ray.service
|
||||
install -Dm644 release/config/systemd/v2ray.service ${pkgdir}/usr/lib/systemd/system/v2ray.service
|
||||
sed -i '/ExecStart/c\ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/config.json' "$pkgdir"/usr/lib/systemd/system/v2ray.service
|
||||
install -Dm644 tools/release/config/geoip.dat tools/release/config/geosite.dat tools/release/config/*.json -t "$pkgdir"/etc/v2ray/
|
||||
install -Dm644 release/config/geoip.dat release/config/geosite.dat release/config/*.json -t "$pkgdir"/etc/v2ray/
|
||||
if [[ $CARCH == "aarch64" ]]; then
|
||||
install -Dm755 "$GOPATH"/bin/v2ray-custom-linux-arm64/{v2ray,v2ctl} -t "$pkgdir"/usr/bin/
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue