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

Felix Yan felixonmars at archlinux.org
Wed Jul 1 16:59:58 UTC 2020


    Date: Wednesday, July 1, 2020 @ 16:59:58
  Author: felixonmars
Revision: 657346

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-01 16:59:39 UTC (rev 657345)
+++ PKGBUILD	2020-07-01 16:59:58 UTC (rev 657346)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=brook
-pkgver=20200501
-pkgrel=1
-pkgdesc="A cross-platform proxy/vpn software"
-arch=('x86_64')
-url="https://github.com/txthinking/brook"
-license=('GPL')
-depends=('glibc')
-makedepends=('go' 'golang-golang-x-net' 'golang-golang-x-text' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz")
-sha512sums=('dc2adbc6eee69adcc51b2e1effa62481dbc765de49d0d64e14cb1be9499b8e45864683a0ea5c9f4193f00f1731de1fbb6164376c9177bfaaa7778f0229cbc07a')
-
-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:/usr/share/gocode"
-
-  go get github.com/mdp/qrterminal github.com/patrickmn/go-cache github.com/txthinking/x \
-         github.com/txthinking/socks5 github.com/txthinking/encrypt github.com/gorilla/mux \
-         github.com/urfave/cli github.com/txthinking/gotun2socks github.com/gorilla/websocket \
-         github.com/urfave/negroni github.com/tdewolff/minify
-}
-
-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 brook-$pkgver/cli/brook
-  go build -o brook
-}
-
-package() {
-  cd brook-$pkgver/cli/brook
-  install -Dm755 brook -t "$pkgdir"/usr/bin/
-}

Copied: brook/repos/community-x86_64/PKGBUILD (from rev 657345, brook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-01 16:59:58 UTC (rev 657346)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=brook
+pkgver=20200502
+pkgrel=1
+pkgdesc="A cross-platform proxy/vpn software"
+arch=('x86_64')
+url="https://github.com/txthinking/brook"
+license=('GPL')
+depends=('glibc')
+makedepends=('go' 'golang-golang-x-net' 'golang-golang-x-text' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz")
+sha512sums=('a2b13c4f380ade3f67d46bc773cbc7e2dd6a9c23c68ca5090bb2ff3db1fa3623831f189874f34030a7944ea2ad5fd95ad0a54fcc6d242e5c862f61b600d21dd8')
+
+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:/usr/share/gocode"
+
+  go get github.com/mdp/qrterminal github.com/patrickmn/go-cache github.com/txthinking/x \
+         github.com/txthinking/socks5 github.com/txthinking/encrypt github.com/gorilla/mux \
+         github.com/urfave/cli github.com/txthinking/gotun2socks github.com/gorilla/websocket \
+         github.com/urfave/negroni github.com/tdewolff/minify
+}
+
+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 brook-$pkgver/cli/brook
+  go build -o brook
+}
+
+package() {
+  cd brook-$pkgver/cli/brook
+  install -Dm755 brook -t "$pkgdir"/usr/bin/
+}


More information about the arch-commits mailing list