[arch-commits] Commit in clash/repos/community-x86_64 (6 files)

Felix Yan felixonmars at archlinux.org
Sun May 10 20:53:54 UTC 2020


    Date: Sunday, May 10, 2020 @ 20:53:53
  Author: felixonmars
Revision: 626228

archrelease: copy trunk to community-x86_64

Added:
  clash/repos/community-x86_64/PKGBUILD
    (from rev 626227, clash/trunk/PKGBUILD)
  clash/repos/community-x86_64/clash at .service
    (from rev 626227, clash/trunk/clash at .service)
  clash/repos/community-x86_64/clash_user.service
    (from rev 626227, clash/trunk/clash_user.service)
Deleted:
  clash/repos/community-x86_64/PKGBUILD
  clash/repos/community-x86_64/clash at .service
  clash/repos/community-x86_64/clash_user.service

--------------------+
 PKGBUILD           |   74 +++++++++++++++++++++++++--------------------------
 clash at .service     |   24 ++++++++--------
 clash_user.service |   22 +++++++--------
 3 files changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 20:53:32 UTC (rev 626227)
+++ PKGBUILD	2020-05-10 20:53:53 UTC (rev 626228)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ariel AxionL <i at axionl.me>
-# Contributor: Luke Yue <lukedyue at gmail.com>
-
-pkgname=clash
-pkgver=0.19.0
-pkgrel=1
-pkgdesc="A rule based proxy in Go"
-arch=('x86_64')
-url="https://github.com/Dreamacro/clash"
-license=('GPL3')
-makedepends=('go-pie' 'git')
-depends=('glibc')
-source=("clash at .service"
-        "clash_user.service"
-        "${pkgname}-${pkgver}.tar.gz::https://github.com/Dreamacro/clash/archive/v${pkgver}.tar.gz")
-sha512sums=('e9e215e0a06d0d1072467342dd72e777725b94634714c5bd5fdee31f48897d9b8ab7e83830d836533d6862fa6ebfda56dbf138edd873140de61d8ccdf2a54572'
-            '338c3a5904623bec48c03b2ef8cf452979c229fc5b89b2e0447664b40cd6e29c83cae47a19145be76d3ee2f0b6a54184a0cff69b834ba6107b444caacc02decf'
-            '40b975c43bb745e4a07840bc189f8cca9ca8e7114462c3e00b307152d73e345cf23d562b4112c86b0753d947912ad9c713553bac0dbc38a7068b5e94ce55824c')
-
-build() {
-    cd "${pkgname}-${pkgver}"
-    go build -trimpath -ldflags "-extldflags ${LDFLAGS} -X github.com/Dreamacro/clash/constant.Version=${pkgver} -w -s" -mod=readonly
-}
-
-check() {
-    cd "${pkgname}-${pkgver}"
-    go test github.com/Dreamacro/clash/...
-}
-
-package() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    install -Dm755 "clash" "${pkgdir}/usr/bin/clash"
-    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/clash/LICENSE"
-    install -Dm644 "${srcdir}/clash at .service" "${pkgdir}/usr/lib/systemd/system/clash at .service"
-    install -Dm644 "${srcdir}/clash_user.service" "${pkgdir}/usr/lib/systemd/user/clash.service"
-}

Copied: clash/repos/community-x86_64/PKGBUILD (from rev 626227, clash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-10 20:53:53 UTC (rev 626228)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ariel AxionL <i at axionl.me>
+# Contributor: Luke Yue <lukedyue at gmail.com>
+
+pkgname=clash
+pkgver=0.20.0
+pkgrel=1
+pkgdesc="A rule based proxy in Go"
+arch=('x86_64')
+url="https://github.com/Dreamacro/clash"
+license=('GPL3')
+makedepends=('go-pie' 'git')
+depends=('glibc')
+source=("clash at .service"
+        "clash_user.service"
+        "${pkgname}-${pkgver}.tar.gz::https://github.com/Dreamacro/clash/archive/v${pkgver}.tar.gz")
+sha512sums=('5b53faea10bba16df98a74fcbffebb6c8b7f8c238999a147bb848b2c30732688813915fd6bc32f44ec6f90024ad29dbde059e70760c91ccea198dd05da52d077'
+            '3ae61e1c6f0213ea8c3113c62f27c704f04f657cda8c726c0e487194dd5c1ce36e448f6e22b61aeef65f4a1910a2df62a3798f0cba9bae10c8e80a7cb1cfb7b3'
+            'a21b952368442246c5fc2c218248296a599bb71b4e12ac525b0bee200aad086545a0269c6b5de7bd876bf44a6bf4d71942bf11a2e47825010d4e5e38bae354d8')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    go build -trimpath -ldflags "-extldflags ${LDFLAGS} -X github.com/Dreamacro/clash/constant.Version=${pkgver} -w -s" -mod=readonly
+}
+
+check() {
+    cd "${pkgname}-${pkgver}"
+    go test github.com/Dreamacro/clash/...
+}
+
+package() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    install -Dm755 "clash" "${pkgdir}/usr/bin/clash"
+    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/clash/LICENSE"
+    install -Dm644 "${srcdir}/clash at .service" "${pkgdir}/usr/lib/systemd/system/clash at .service"
+    install -Dm644 "${srcdir}/clash_user.service" "${pkgdir}/usr/lib/systemd/user/clash.service"
+}

Deleted: clash at .service
===================================================================
--- clash at .service	2020-05-10 20:53:32 UTC (rev 626227)
+++ clash at .service	2020-05-10 20:53:53 UTC (rev 626228)
@@ -1,12 +0,0 @@
-[Unit]
-Description=A rule based proxy in Go for %i.
-After=network.target
-
-[Service]
-Type=simple
-User=%i
-Restart=on-abort
-ExecStart=/usr/bin/clash
-
-[Install]
-WantedBy=multi-user.target

Copied: clash/repos/community-x86_64/clash at .service (from rev 626227, clash/trunk/clash at .service)
===================================================================
--- clash at .service	                        (rev 0)
+++ clash at .service	2020-05-10 20:53:53 UTC (rev 626228)
@@ -0,0 +1,12 @@
+[Unit]
+Description=A rule based proxy in Go for %i.
+After=network.target
+
+[Service]
+Type=exec
+User=%i
+Restart=on-abort
+ExecStart=/usr/bin/clash
+
+[Install]
+WantedBy=multi-user.target

Deleted: clash_user.service
===================================================================
--- clash_user.service	2020-05-10 20:53:32 UTC (rev 626227)
+++ clash_user.service	2020-05-10 20:53:53 UTC (rev 626228)
@@ -1,11 +0,0 @@
-[Unit]
-Description=A rule based proxy in Go.
-After=network.target
-
-[Service]
-Type=simple
-Restart=on-abort
-ExecStart=/usr/bin/clash
-
-[Install]
-WantedBy=default.target

Copied: clash/repos/community-x86_64/clash_user.service (from rev 626227, clash/trunk/clash_user.service)
===================================================================
--- clash_user.service	                        (rev 0)
+++ clash_user.service	2020-05-10 20:53:53 UTC (rev 626228)
@@ -0,0 +1,11 @@
+[Unit]
+Description=A rule based proxy in Go.
+After=network.target
+
+[Service]
+Type=exec
+Restart=on-abort
+ExecStart=/usr/bin/clash
+
+[Install]
+WantedBy=default.target


More information about the arch-commits mailing list