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

Felix Yan felixonmars at archlinux.org
Tue Dec 22 22:43:19 UTC 2020


    Date: Tuesday, December 22, 2020 @ 22:43:18
  Author: felixonmars
Revision: 783104

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-22 22:43:08 UTC (rev 783103)
+++ PKGBUILD	2020-12-22 22:43:18 UTC (rev 783104)
@@ -1,44 +0,0 @@
-# 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/
-}

Copied: brook/repos/community-x86_64/PKGBUILD (from rev 783103, brook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-22 22:43:18 UTC (rev 783104)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=brook
+pkgver=20200901
+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=('a52bfe854515d8090bc23ed0c5e843c29dcccb802d56e6f4e5fee53ed803e3312e6289ec5a22b5e92d2c7e598ce7527d8ca9ea279833859cb1d84958df4f9935')
+
+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/gorilla/websocket github.com/urfave/negroni \
+         github.com/tdewolff/minify github.com/miekg/dns
+}
+
+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