Date: Monday, November 5, 2018 @ 17:51:16
  Author: felixonmars
Revision: 401628

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-11-05 17:50:56 UTC (rev 401627)
+++ PKGBUILD    2018-11-05 17:51:16 UTC (rev 401628)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Contributor: pandada8 <panda...@gmail.com>
-
-pkgname=v2ray
-pkgver=4.0.2
-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')
-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.service')
-sha512sums=('e8bd2b1bdf4549f133f80994fbe42f69bea92956c745affb2d89b740fd396cd3efb67dd8363cf5d5ad8cf104d1d05e080d8c5d2a40c282e8fe8b3be65e80a795'
-            
'37efc20ef71147f4400eba2bf57766462b5803b5952768bd32d5224f35e37c9c5639aaa19e0f3b63b52063dafd0381f40e2bfbb60dace08b055f0b3245cfa2b7')
-
-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 -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/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@.service
-}

Copied: v2ray/repos/community-x86_64/PKGBUILD (from rev 401627, 
v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-11-05 17:51:16 UTC (rev 401628)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: pandada8 <panda...@gmail.com>
+
+pkgname=v2ray
+pkgver=4.2
+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')
+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.service')
+sha512sums=('a6f6629a3c112c129bfefa5f6926a9f0a7ed3b9b2e590d658c2da50f2a2391a57d07d247477e358e356bed4e44d07dd6e835651f294c12d9688b73b226c57e88'
+            
'37efc20ef71147f4400eba2bf57766462b5803b5952768bd32d5224f35e37c9c5639aaa19e0f3b63b52063dafd0381f40e2bfbb60dace08b055f0b3245cfa2b7')
+
+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 -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/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@.service
+}

Deleted: v2ray.service
===================================================================
--- v2ray.service       2018-11-05 17:50:56 UTC (rev 401627)
+++ v2ray.service       2018-11-05 17:51:16 UTC (rev 401628)
@@ -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 401627, 
v2ray/trunk/v2ray.service)
===================================================================
--- v2ray.service                               (rev 0)
+++ v2ray.service       2018-11-05 17:51:16 UTC (rev 401628)
@@ -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

Reply via email to