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

Felix Yan felixonmars at archlinux.org
Fri Nov 20 17:43:14 UTC 2020


    Date: Friday, November 20, 2020 @ 17:43:14
  Author: felixonmars
Revision: 757933

archrelease: copy trunk to community-x86_64

Added:
  clash/repos/community-x86_64/PKGBUILD
    (from rev 757932, clash/trunk/PKGBUILD)
  clash/repos/community-x86_64/clash at .service
    (from rev 757932, clash/trunk/clash at .service)
  clash/repos/community-x86_64/clash_user.service
    (from rev 757932, 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           |   86 +++++++++++++++++++++++++--------------------------
 clash at .service     |   24 +++++++-------
 clash_user.service |   22 ++++++-------
 3 files changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-20 17:42:58 UTC (rev 757932)
+++ PKGBUILD	2020-11-20 17:43:14 UTC (rev 757933)
@@ -1,43 +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=1.2.0
-pkgrel=1
-pkgdesc="A rule based proxy in Go"
-arch=('x86_64')
-url="https://github.com/Dreamacro/clash"
-license=('GPL3')
-makedepends=('go' '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'
-            '094020b2af3b2b9002bd8db899d100a2ac83e58ba9626162406bf4934d8c5cc84c547d609c531827172b26b068ede5dc15a84a814279a73b1e66474982841114')
-
-build() {
-    export CGO_CPPFLAGS="${CPPFLAGS}"
-    export CGO_CFLAGS="${CFLAGS}"
-    export CGO_CXXFLAGS="${CXXFLAGS}"
-    export CGO_LDFLAGS="${LDFLAGS}"
-    export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-    cd "${pkgname}-${pkgver}"
-    go build -trimpath -ldflags "-X github.com/Dreamacro/clash/constant.Version=${pkgver}" -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 757932, clash/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-20 17:43:14 UTC (rev 757933)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ariel AxionL <i at axionl.me>
+# Contributor: Luke Yue <lukedyue at gmail.com>
+
+pkgname=clash
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="A rule based proxy in Go"
+arch=('x86_64')
+url="https://github.com/Dreamacro/clash"
+license=('GPL3')
+makedepends=('go' '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'
+            '80cfbda17370148e6834c9d7c4b22d4e13cb74eaae3707f0d1768a7e1f0b64f101ea04de5b09aced3b6572001f8611db67e0ffc94841a95b10cb9990e2673620')
+
+build() {
+    export CGO_CPPFLAGS="${CPPFLAGS}"
+    export CGO_CFLAGS="${CFLAGS}"
+    export CGO_CXXFLAGS="${CXXFLAGS}"
+    export CGO_LDFLAGS="${LDFLAGS}"
+    export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+    cd "${pkgname}-${pkgver}"
+    go build -trimpath -ldflags "-X github.com/Dreamacro/clash/constant.Version=${pkgver}" -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-11-20 17:42:58 UTC (rev 757932)
+++ clash at .service	2020-11-20 17:43:14 UTC (rev 757933)
@@ -1,12 +0,0 @@
-[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

Copied: clash/repos/community-x86_64/clash at .service (from rev 757932, clash/trunk/clash at .service)
===================================================================
--- clash at .service	                        (rev 0)
+++ clash at .service	2020-11-20 17:43:14 UTC (rev 757933)
@@ -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-11-20 17:42:58 UTC (rev 757932)
+++ clash_user.service	2020-11-20 17:43:14 UTC (rev 757933)
@@ -1,11 +0,0 @@
-[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

Copied: clash/repos/community-x86_64/clash_user.service (from rev 757932, clash/trunk/clash_user.service)
===================================================================
--- clash_user.service	                        (rev 0)
+++ clash_user.service	2020-11-20 17:43:14 UTC (rev 757933)
@@ -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