[arch-commits] Commit in v2ray/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 4 05:44:53 UTC 2018


    Date: Sunday, November 4, 2018 @ 05:44:53
  Author: felixonmars
Revision: 401451

upgpkg: v2ray 4.0-2

clean up sources, fix dependency.

Modified:
  v2ray/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-04 05:28:48 UTC (rev 401450)
+++ PKGBUILD	2018-11-04 05:44:53 UTC (rev 401451)
@@ -8,13 +8,12 @@
 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-ext-$pkgver.tar.gz::https://github.com/v2ray/ext/archive/v$pkgver.tar.gz"
         'v2ray.service')
 sha512sums=('af16a2869b3c82b52fc80d5edec7a6653ddab15a86cf3597fe09eb931bc1d37fd245a1e1b5fac61abfda11a4d81648beb2fa94f5338900197f299ada7b806589'
-            '521ae508ad221125f02f9b1116ffe11d3451e513474796e08ad2678a65af157241694c656423919b1d13cf1ba3f7d3b274ed9a2b04eaa82a51e45a00efd848e7'
             'ddf312c4af1ab31a54bcc037f0e78272193aa0dca66ed57066ec8c69d44f93559e9833a4c79becdd746557d9660474762f560dbe8ba21956432f09eb2d7c6ada')
 
 prepare() {
@@ -38,7 +37,7 @@
   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/i Environment=iv2ray_location_asset=/etc/v2ray' "$pkgdir"/usr/lib/systemd/system/v2ray.service
+  sed -i '/ExecStart/i Environment=v2ray_location_asset=/etc/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/


More information about the arch-commits mailing list