[arch-commits] Commit in brook/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jan 9 17:20:06 UTC 2018


    Date: Tuesday, January 9, 2018 @ 17:20:05
  Author: felixonmars
Revision: 280714

upgpkg: brook 20171113-2

correctly build cli

Modified:
  brook/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-09 17:02:19 UTC (rev 280713)
+++ PKGBUILD	2018-01-09 17:20:05 UTC (rev 280714)
@@ -4,7 +4,7 @@
 
 pkgname=brook
 pkgver=20171113
-pkgrel=1
+pkgrel=2
 pkgdesc="A cross-platform proxy/vpn software"
 arch=('x86_64')
 url="https://github.com/txthinking/brook"
@@ -23,15 +23,16 @@
   export GOPATH="$PWD/.gopath"
 
   go get github.com/mdp/qrterminal github.com/patrickmn/go-cache github.com/txthinking/ant \
-         github.com/txthinking/pac/blackwhite github.com/txthinking/socks5 golang.org/x/net/proxy
+         github.com/txthinking/pac/blackwhite github.com/txthinking/socks5 golang.org/x/net/proxy \
+         github.com/urfave/cli
 }
 
 build() {
-  cd brook-$pkgver
-  go build -o build/brook
+  cd brook-$pkgver/cli/brook
+  go build -o brook
 }
 
 package() {
-  cd brook-$pkgver
-  install -Dm755 build/brook "$pkgdir"/usr/bin/brook
+  cd brook-$pkgver/cli/brook
+  install -Dm755 brook "$pkgdir"/usr/bin/brook
 }



More information about the arch-commits mailing list