[arch-commits] Commit in v2ray/repos/community-x86_64 (4 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 8 06:02:40 UTC 2017


    Date: Friday, December 8, 2017 @ 06:02:39
  Author: felixonmars
Revision: 273236

archrelease: copy trunk to community-x86_64

Added:
  v2ray/repos/community-x86_64/PKGBUILD
    (from rev 273235, v2ray/trunk/PKGBUILD)
  v2ray/repos/community-x86_64/v2ray.service
    (from rev 273235, v2ray/trunk/v2ray.service)
Deleted:
  v2ray/repos/community-x86_64/PKGBUILD
  v2ray/repos/community-x86_64/v2ray.service

---------------+
 PKGBUILD      |   92 ++++++++++++++++++++++++++++----------------------------
 v2ray.service |   26 +++++++--------
 2 files changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-08 06:02:14 UTC (rev 273235)
+++ PKGBUILD	2017-12-08 06:02:39 UTC (rev 273236)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: pandada8 <pandada8 at gmail.com>
-
-pkgname=v2ray
-pkgver=3.0.1
-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')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
-        'v2ray.service')
-sha512sums=('da16d96d0c9cd4af75ce8fa0e1f1caa0b0b25b1003bd7e937f558cd4a785e779e598164f5138a2e918a7d67b5e2829b1226602d05bd406e379a0b98b2ff9e08c'
-            'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
-
-prepare() {
-  export GOPATH="$srcdir/build"
-  go get v2ray.com/core github.com/miekg/dns golang.org/x/sys/unix v2ray.com/ext/assert \
-         github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/sha3 \
-         v2ray.com/ext golang.org/x/net/proxy github.com/google/go-github/github golang.org/x/oauth2 \
-         github.com/gogo/protobuf/proto
-  go install v2ray.com/ext/tools/build/vbuild
-}
-
-build() {
-  cd v2ray-core-$pkgver
-  "$GOPATH"/bin/vbuild
-}
-
-check() {
-  cd v2ray-core-$pkgver
-  go test -p 1 -tags json -v v2ray.com/core/...
-}
-
-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
-  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 -Dm755 "$GOPATH"/bin/v2ray-custom-linux-64/{v2ray,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 273235, v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-08 06:02:39 UTC (rev 273236)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: pandada8 <pandada8 at gmail.com>
+
+pkgname=v2ray
+pkgver=3.1
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
+        'v2ray.service')
+sha512sums=('bc7399c7c3f3eea12a290e14977116fa79a43616cafb5e5084dd7fa41e8f793f0dfcafc8692e38f8aa5c206501ccb88e6fc18f380c3cf7265473b91238f1c001'
+            'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
+
+prepare() {
+  export GOPATH="$srcdir/build"
+  go get v2ray.com/core github.com/miekg/dns golang.org/x/sys/unix v2ray.com/ext/assert \
+         github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/sha3 \
+         v2ray.com/ext golang.org/x/net/proxy github.com/google/go-github/github golang.org/x/oauth2 \
+         github.com/gogo/protobuf/proto
+  go install v2ray.com/ext/tools/build/vbuild
+}
+
+build() {
+  cd v2ray-core-$pkgver
+  "$GOPATH"/bin/vbuild
+}
+
+check() {
+  cd v2ray-core-$pkgver
+  go test -p 1 -tags json -v v2ray.com/core/...
+}
+
+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
+  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 -Dm755 "$GOPATH"/bin/v2ray-custom-linux-64/{v2ray,v2ctl} -t "$pkgdir"/usr/bin/
+
+  install -Dm644 "$srcdir"/v2ray.service "$pkgdir"/usr/lib/systemd/system/v2ray at .service
+}

Deleted: v2ray.service
===================================================================
--- v2ray.service	2017-12-08 06:02:14 UTC (rev 273235)
+++ v2ray.service	2017-12-08 06:02:39 UTC (rev 273236)
@@ -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 273235, v2ray/trunk/v2ray.service)
===================================================================
--- v2ray.service	                        (rev 0)
+++ v2ray.service	2017-12-08 06:02:39 UTC (rev 273236)
@@ -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