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

Felix Yan felixonmars at archlinux.org
Thu Aug 15 18:46:01 UTC 2019


    Date: Thursday, August 15, 2019 @ 18:46:01
  Author: felixonmars
Revision: 499614

archrelease: copy trunk to community-x86_64

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

---------------+
 PKGBUILD      |  114 ++++++++++++++++++++++++++++----------------------------
 v2ray.service |   28 ++++++-------
 2 files changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 18:45:49 UTC (rev 499613)
+++ PKGBUILD	2019-08-15 18:46:01 UTC (rev 499614)
@@ -1,57 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: pandada8 <pandada8 at gmail.com>
-
-pkgname=v2ray
-pkgver=4.20.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')
-depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
-makedepends=('go-pie' 'golang-golang-x-crypto' 'golang-golang-x-net' 'git')
-backup=(etc/v2ray/config.json)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
-        'v2ray.service')
-sha512sums=('b0a202c06374d34f03284d8a611e993e0be75f1aae2a4724beb134d6974e7e958989cfa238ef7d3ce55d3edf58598962b72b0cf470a8b2c05be7217846e5e460'
-            '37efc20ef71147f4400eba2bf57766462b5803b5952768bd32d5224f35e37c9c5639aaa19e0f3b63b52063dafd0381f40e2bfbb60dace08b055f0b3245cfa2b7')
-
-prepare() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/v2ray.com
-
-  # mv *.com *.io *.org *.net "$srcdir"/build/src/
-  mv v2ray-core-$pkgver "$srcdir"/build/src/v2ray.com/core
-
-  # Future makedepends
-  go get github.com/golang/protobuf/proto go.starlark.net/starlark go.starlark.net/syntax \
-         google.golang.org/grpc
-
-  # Future checkdepends
-  go get github.com/golang/mock/gomock github.com/google/go-cmp/cmp \
-         golang.org/x/sync/errgroup github.com/miekg/dns h12.io/socks
-}
-
-build() {
-  go build -o v2ray v2ray.com/core/main
-  go build -o v2ctl v2ray.com/core/infra/control/main
-}
-
-check() {
-  cd "$srcdir"/build/src/v2ray.com/core
-  go test -p 1 -tags json -v -timeout 30m v2ray.com/core/...
-}
-
-package() {
-  cd "$srcdir"/build/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 -e '/ExecStart/i Environment=V2RAY_LOCATION_ASSET=/etc/v2ray' \
-         -e 's|/usr/bin/v2ray/v2ray|/usr/bin/v2ray|' \
-         "$pkgdir"/usr/lib/systemd/system/v2ray.service
-  install -Dm644 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 499613, v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-15 18:46:01 UTC (rev 499614)
@@ -0,0 +1,57 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: pandada8 <pandada8 at gmail.com>
+
+pkgname=v2ray
+pkgver=4.20.0
+pkgrel=2
+pkgdesc="A platform for building proxies to bypass network restrictions"
+arch=('x86_64')
+url="https://github.com/v2ray/v2ray-core"
+license=('MIT')
+depends=('glibc' 'v2ray-domain-list-community' 'v2ray-geoip')
+makedepends=('go-pie' 'golang-golang-x-crypto' 'golang-golang-x-net' 'git')
+backup=(etc/v2ray/config.json)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
+        'v2ray.service')
+sha512sums=('b0a202c06374d34f03284d8a611e993e0be75f1aae2a4724beb134d6974e7e958989cfa238ef7d3ce55d3edf58598962b72b0cf470a8b2c05be7217846e5e460'
+            '37efc20ef71147f4400eba2bf57766462b5803b5952768bd32d5224f35e37c9c5639aaa19e0f3b63b52063dafd0381f40e2bfbb60dace08b055f0b3245cfa2b7')
+
+prepare() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/v2ray.com
+
+  # mv *.com *.io *.org *.net "$srcdir"/build/src/
+  mv v2ray-core-$pkgver "$srcdir"/build/src/v2ray.com/core
+
+  # Future makedepends
+  go get github.com/golang/protobuf/proto go.starlark.net/starlark go.starlark.net/syntax \
+         google.golang.org/grpc
+
+  # Future checkdepends
+  go get github.com/golang/mock/gomock github.com/google/go-cmp/cmp \
+         golang.org/x/sync/errgroup github.com/miekg/dns h12.io/socks
+}
+
+build() {
+  go build -o v2ray v2ray.com/core/main
+  go build -o v2ctl v2ray.com/core/infra/control/main
+}
+
+check() {
+  cd "$srcdir"/build/src/v2ray.com/core
+  go test -p 1 -tags json -v -timeout 30m v2ray.com/core/...
+}
+
+package() {
+  cd "$srcdir"/build/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 -e '/ExecStart/i Environment=V2RAY_LOCATION_ASSET=/etc/v2ray' \
+         -e 's|/usr/bin/v2ray/v2ray|/usr/bin/v2ray|' \
+         "$pkgdir"/usr/lib/systemd/system/v2ray.service
+  install -Dm644 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	2019-08-15 18:45:49 UTC (rev 499613)
+++ v2ray.service	2019-08-15 18:46:01 UTC (rev 499614)
@@ -1,14 +0,0 @@
-[Unit]
-Description=V2Ray Service
-After=network.target
-Wants=network.target
-
-[Service]
-Type=simple
-PIDFile=/var/run/v2ray-%i.pid
-Environment=V2RAY_LOCATION_ASSET=/etc/v2ray
-ExecStart=/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 499613, v2ray/trunk/v2ray.service)
===================================================================
--- v2ray.service	                        (rev 0)
+++ v2ray.service	2019-08-15 18:46:01 UTC (rev 499614)
@@ -0,0 +1,14 @@
+[Unit]
+Description=V2Ray Service
+After=network.target
+Wants=network.target
+
+[Service]
+Type=simple
+PIDFile=/var/run/v2ray-%i.pid
+Environment=V2RAY_LOCATION_ASSET=/etc/v2ray
+ExecStart=/usr/bin/v2ray -config /etc/v2ray/%i.json
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target


More information about the arch-commits mailing list