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

Felix Yan felixonmars at archlinux.org
Sun Mar 8 23:01:00 UTC 2020


    Date: Sunday, March 8, 2020 @ 23:01:00
  Author: felixonmars
Revision: 592654

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-08 23:00:50 UTC (rev 592653)
+++ PKGBUILD	2020-03-08 23:01:00 UTC (rev 592654)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=brook
-pkgver=20190401
-pkgrel=3
-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=('83d9299666fef59820f1d7b672c93f0c71cd75fd6d6623b6d6784c16ba2a81dadb7288086d84469552db424fc09564436d21d3c064b1aaeb9f7e7912ba41f48d')
-
-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/urfave/cli github.com/txthinking/gotun2socks
-}
-
-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 592653, brook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-08 23:01:00 UTC (rev 592654)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=brook
+pkgver=20200101
+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=('1c2c7db12a7a459abf12ddad27b8bbfffd4c12b7409e5d51c97d70bf3de64bbac0f9c774c31125c856845914b7748327e2b1c67e4764b96f05fa7ef095ddbd48')
+
+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