[arch-commits] Commit in v2ray/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 2 03:05:13 UTC 2018
Date: Friday, November 2, 2018 @ 03:05:12
Author: felixonmars
Revision: 401187
archrelease: copy trunk to community-x86_64
Added:
v2ray/repos/community-x86_64/PKGBUILD
(from rev 401186, v2ray/trunk/PKGBUILD)
v2ray/repos/community-x86_64/v2ray.service
(from rev 401186, v2ray/trunk/v2ray.service)
Deleted:
v2ray/repos/community-x86_64/PKGBUILD
v2ray/repos/community-x86_64/v2ray.service
---------------+
PKGBUILD | 94 ++++++++++++++++++++++++++++----------------------------
v2ray.service | 26 +++++++--------
2 files changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-02 03:04:58 UTC (rev 401186)
+++ PKGBUILD 2018-11-02 03:05:12 UTC (rev 401187)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: pandada8 <pandada8 at gmail.com>
-
-pkgname=v2ray
-pkgver=3.50
-pkgrel=1
-pkgdesc="A platform for building proxies to bypass network restrictions"
-arch=('x86_64')
-url="https://github.com/v2ray/v2ray-core"
-license=('MIT')
-makedepends=('go' 'git')
-backup=(etc/v2ray/config.json)
-source=("$pkgname-$pkgver.zip::https://github.com/v2ray/v2ray-core/releases/download/v$pkgver/src_all.zip"
- "v2ray-ext-$pkgver.tar.gz::https://github.com/v2ray/ext/archive/v$pkgver.tar.gz"
- 'v2ray.service')
-sha512sums=('29c2d21f630813fb106f6807b55c963ab2a9ab2730d3354c1531ca6b4d85c09326a29d77c26743cc7b88a08769973511eb27618b8dcb7eaf2f7272d1d4b1c764'
- '66ddcea6ba0bae08d4bd631e1b053b37d6bc653475b5fbc7fbb2f0cd683a374edb8694661488f0139d4a9eb3effc27c56a0cb8b2eb3d2bb8429e555948add902'
- 'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
-
-prepare() {
- export GOPATH="$srcdir/build"
- mkdir -p "$GOPATH"/src
-
- mv *.com *.io *.org "$GOPATH"/src/
-}
-
-build() {
- go build -o v2ray v2ray.com/core/main
- go build -o v2ctl v2ray.com/ext/tools/control/main
-}
-
-check() {
- cd "$GOPATH"/src/v2ray.com/core
- go test -p 1 -tags json -v v2ray.com/core/...
-}
-
-package() {
- cd "$GOPATH"/src/v2ray.com/core
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
- 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 release/config/geoip.dat release/config/geosite.dat release/config/*.json -t "$pkgdir"/etc/v2ray/
- install -Dm755 "$srcdir"/v2ray -t "$pkgdir"/usr/bin/
- install -Dm755 "$srcdir"/v2ctl -t "$pkgdir"/usr/bin/
-
- install -Dm644 "$srcdir"/v2ray.service "$pkgdir"/usr/lib/systemd/system/v2ray at .service
-}
Copied: v2ray/repos/community-x86_64/PKGBUILD (from rev 401186, v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-02 03:05:12 UTC (rev 401187)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: pandada8 <pandada8 at gmail.com>
+
+pkgname=v2ray
+pkgver=4.0
+pkgrel=1
+pkgdesc="A platform for building proxies to bypass network restrictions"
+arch=('x86_64')
+url="https://github.com/v2ray/v2ray-core"
+license=('MIT')
+makedepends=('go' 'git')
+backup=(etc/v2ray/config.json)
+source=("$pkgname-$pkgver.zip::https://github.com/v2ray/v2ray-core/releases/download/v$pkgver/src_all.zip"
+ "v2ray-ext-$pkgver.tar.gz::https://github.com/v2ray/ext/archive/v$pkgver.tar.gz"
+ 'v2ray.service')
+sha512sums=('af16a2869b3c82b52fc80d5edec7a6653ddab15a86cf3597fe09eb931bc1d37fd245a1e1b5fac61abfda11a4d81648beb2fa94f5338900197f299ada7b806589'
+ '521ae508ad221125f02f9b1116ffe11d3451e513474796e08ad2678a65af157241694c656423919b1d13cf1ba3f7d3b274ed9a2b04eaa82a51e45a00efd848e7'
+ 'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
+
+prepare() {
+ export GOPATH="$srcdir/build"
+ mkdir -p "$GOPATH"/src
+
+ mv *.com *.io *.org "$GOPATH"/src/
+}
+
+build() {
+ go build -o v2ray v2ray.com/core/main
+ go build -o v2ctl v2ray.com/ext/tools/control/main
+}
+
+check() {
+ cd "$GOPATH"/src/v2ray.com/core
+ go test -p 1 -tags json -v v2ray.com/core/...
+}
+
+package() {
+ cd "$GOPATH"/src/v2ray.com/core
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
+ 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 release/config/geoip.dat release/config/geosite.dat release/config/*.json -t "$pkgdir"/etc/v2ray/
+ install -Dm755 "$srcdir"/v2ray -t "$pkgdir"/usr/bin/
+ install -Dm755 "$srcdir"/v2ctl -t "$pkgdir"/usr/bin/
+
+ install -Dm644 "$srcdir"/v2ray.service "$pkgdir"/usr/lib/systemd/system/v2ray at .service
+}
Deleted: v2ray.service
===================================================================
--- v2ray.service 2018-11-02 03:04:58 UTC (rev 401186)
+++ v2ray.service 2018-11-02 03:05:12 UTC (rev 401187)
@@ -1,13 +0,0 @@
-[Unit]
-Description=V2Ray Service
-After=network.target
-Wants=network.target
-
-[Service]
-Type=simple
-PIDFile=/var/run/v2ray-%i.pid
-ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target
Copied: v2ray/repos/community-x86_64/v2ray.service (from rev 401186, v2ray/trunk/v2ray.service)
===================================================================
--- v2ray.service (rev 0)
+++ v2ray.service 2018-11-02 03:05:12 UTC (rev 401187)
@@ -0,0 +1,13 @@
+[Unit]
+Description=V2Ray Service
+After=network.target
+Wants=network.target
+
+[Service]
+Type=simple
+PIDFile=/var/run/v2ray-%i.pid
+ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list