[arch-commits] Commit in brook/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 21:25:41 UTC 2020


    Date: Tuesday, March 10, 2020 @ 21:25:41
  Author: felixonmars
Revision: 593946

archrelease: copy trunk to community-x86_64

Added:
  brook/repos/community-x86_64/PKGBUILD
    (from rev 593945, brook/trunk/PKGBUILD)
Deleted:
  brook/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 21:25:28 UTC (rev 593945)
+++ PKGBUILD	2020-03-10 21:25:41 UTC (rev 593946)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=brook
-pkgver=20200102
-pkgrel=1
-pkgdesc="A cross-platform proxy/vpn software"
-arch=('x86_64')
-url="https://github.com/txthinking/brook"
-license=('GPL')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz")
-sha512sums=('dd1c35ffdc6a5c6171459c356ab6c84f83720828c1910e12498828ef838a92f89f95cc21ae7328d954e4c724aa1263aeee9426d849c29e4a85b29c258414c5ba')
-
-prepare() {
-  cd brook-$pkgver
-
-  mkdir build
-  mkdir -p .gopath/src/github.com/txthinking
-  ln -sf "$PWD" .gopath/src/github.com/txthinking/brook
-  export GOPATH="$PWD/.gopath"
-
-  go get github.com/mdp/qrterminal github.com/patrickmn/go-cache github.com/txthinking/ant \
-         github.com/txthinking/socks5 golang.org/x/net/proxy github.com/gorilla/mux \
-         github.com/urfave/cli github.com/txthinking/gotun2socks github.com/gorilla/websocket \
-         github.com/urfave/negroni
-}
-
-build() {
-  cd brook-$pkgver/cli/brook
-  go build -ldflags "-extldflags ${LDFLAGS}" -o brook
-}
-
-package() {
-  cd brook-$pkgver/cli/brook
-  install -Dm755 brook "$pkgdir"/usr/bin/brook
-}

Copied: brook/repos/community-x86_64/PKGBUILD (from rev 593945, brook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-10 21:25:41 UTC (rev 593946)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=brook
+pkgver=20200201
+pkgrel=1
+pkgdesc="A cross-platform proxy/vpn software"
+arch=('x86_64')
+url="https://github.com/txthinking/brook"
+license=('GPL')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz")
+sha512sums=('2a6589a9a67f5b7ac43fda2524f7fa4de05d7a0c353bd07ec39945a638c57b2287359d5bcdf4a97f56652d3a666e75904cdc272d3abb7b63c66ddb052b0e87a6')
+
+prepare() {
+  cd brook-$pkgver
+
+  mkdir build
+  mkdir -p .gopath/src/github.com/txthinking
+  ln -sf "$PWD" .gopath/src/github.com/txthinking/brook
+  export GOPATH="$PWD/.gopath"
+
+  go get github.com/mdp/qrterminal github.com/patrickmn/go-cache github.com/txthinking/ant \
+         github.com/txthinking/socks5 golang.org/x/net/proxy github.com/gorilla/mux \
+         github.com/urfave/cli github.com/txthinking/gotun2socks github.com/gorilla/websocket \
+         github.com/urfave/negroni
+}
+
+build() {
+  cd brook-$pkgver/cli/brook
+  go build -ldflags "-extldflags ${LDFLAGS}" -o brook
+}
+
+package() {
+  cd brook-$pkgver/cli/brook
+  install -Dm755 brook "$pkgdir"/usr/bin/brook
+}



More information about the arch-commits mailing list