[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Tuesday, December 22, 2020 @ 22:43:08 Author: felixonmars Revision: 783103 upgpkg: brook 20200901-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-22 22:42:31 UTC (rev 783102) +++ PKGBUILD2020-12-22 22:43:08 UTC (rev 783103) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20200502 +pkgver=20200901 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ 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') +sha512sums=('a52bfe854515d8090bc23ed0c5e843c29dcccb802d56e6f4e5fee53ed803e3312e6289ec5a22b5e92d2c7e598ce7527d8ca9ea279833859cb1d84958df4f9935') prepare() { cd brook-$pkgver @@ -23,8 +23,8 @@ 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 + github.com/urfave/cli github.com/gorilla/websocket github.com/urfave/negroni \ + github.com/tdewolff/minify github.com/miekg/dns } build() {
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Wednesday, July 1, 2020 @ 16:59:39 Author: felixonmars Revision: 657345 upgpkg: brook 20200502-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-01 16:59:01 UTC (rev 657344) +++ PKGBUILD2020-07-01 16:59:39 UTC (rev 657345) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20200501 +pkgver=20200502 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ 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') +sha512sums=('a2b13c4f380ade3f67d46bc773cbc7e2dd6a9c23c68ca5090bb2ff3db1fa3623831f189874f34030a7944ea2ad5fd95ad0a54fcc6d242e5c862f61b600d21dd8') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Friday, June 26, 2020 @ 07:00:40 Author: felixonmars Revision: 653443 upgpkg: brook 20200501-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-26 05:59:45 UTC (rev 653442) +++ PKGBUILD2020-06-26 07:00:40 UTC (rev 653443) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20200201 +pkgver=20200501 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -9,9 +9,9 @@ url="https://github.com/txthinking/brook"; license=('GPL') depends=('glibc') -makedepends=('go-pie' 'git') +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=('2a6589a9a67f5b7ac43fda2524f7fa4de05d7a0c353bd07ec39945a638c57b2287359d5bcdf4a97f56652d3a666e75904cdc272d3abb7b63c66ddb052b0e87a6') +sha512sums=('dc2adbc6eee69adcc51b2e1effa62481dbc765de49d0d64e14cb1be9499b8e45864683a0ea5c9f4193f00f1731de1fbb6164376c9177bfaaa7778f0229cbc07a') prepare() { cd brook-$pkgver @@ -19,20 +19,26 @@ mkdir build mkdir -p .gopath/src/github.com/txthinking ln -sf "$PWD" .gopath/src/github.com/txthinking/brook - export GOPATH="$PWD/.gopath" + export GOPATH="$PWD/.gopath:/usr/share/gocode" - 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 \ + 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/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 -ldflags "-extldflags ${LDFLAGS}" -o brook + go build -o brook } package() { cd brook-$pkgver/cli/brook - install -Dm755 brook "$pkgdir"/usr/bin/brook + install -Dm755 brook -t "$pkgdir"/usr/bin/ }
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Tuesday, March 10, 2020 @ 21:25:28 Author: felixonmars Revision: 593945 upgpkg: brook 20200201-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-10 21:15:23 UTC (rev 593944) +++ PKGBUILD2020-03-10 21:25:28 UTC (rev 593945) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20200102 +pkgver=20200201 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('dd1c35ffdc6a5c6171459c356ab6c84f83720828c1910e12498828ef838a92f89f95cc21ae7328d954e4c724aa1263aeee9426d849c29e4a85b29c258414c5ba') +sha512sums=('2a6589a9a67f5b7ac43fda2524f7fa4de05d7a0c353bd07ec39945a638c57b2287359d5bcdf4a97f56652d3a666e75904cdc272d3abb7b63c66ddb052b0e87a6') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Monday, March 9, 2020 @ 09:32:44 Author: felixonmars Revision: 592832 upgpkg: brook 20200102-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-09 09:32:44 UTC (rev 592831) +++ PKGBUILD2020-03-09 09:32:44 UTC (rev 592832) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20200101 +pkgver=20200102 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('1c2c7db12a7a459abf12ddad27b8bbfffd4c12b7409e5d51c97d70bf3de64bbac0f9c774c31125c856845914b7748327e2b1c67e4764b96f05fa7ef095ddbd48') +sha512sums=('dd1c35ffdc6a5c6171459c356ab6c84f83720828c1910e12498828ef838a92f89f95cc21ae7328d954e4c724aa1263aeee9426d849c29e4a85b29c258414c5ba') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Sunday, March 8, 2020 @ 23:00:50 Author: felixonmars Revision: 592653 upgpkg: brook 20200101-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-08 23:00:00 UTC (rev 592652) +++ PKGBUILD2020-03-08 23:00:50 UTC (rev 592653) @@ -2,8 +2,8 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20190401 -pkgrel=3 +pkgver=20200101 +pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') url="https://github.com/txthinking/brook"; @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('83d9299666fef59820f1d7b672c93f0c71cd75fd6d6623b6d6784c16ba2a81dadb7288086d84469552db424fc09564436d21d3c064b1aaeb9f7e7912ba41f48d') +sha512sums=('1c2c7db12a7a459abf12ddad27b8bbfffd4c12b7409e5d51c97d70bf3de64bbac0f9c774c31125c856845914b7748327e2b1c67e4764b96f05fa7ef095ddbd48') prepare() { cd brook-$pkgver @@ -22,8 +22,9 @@ 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 + 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() {
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Monday, October 21, 2019 @ 13:42:23 Author: jelle Revision: 518088 upgpkg: brook 20190401-3 golang 1.13.1 security rebuild Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-21 13:34:06 UTC (rev 518087) +++ PKGBUILD2019-10-21 13:42:23 UTC (rev 518088) @@ -3,7 +3,7 @@ pkgname=brook pkgver=20190401 -pkgrel=2 +pkgrel=3 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') url="https://github.com/txthinking/brook"; @@ -28,7 +28,7 @@ build() { cd brook-$pkgver/cli/brook - go build -o brook + go build -ldflags "-extldflags ${LDFLAGS}" -o brook } package() {
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Thursday, August 15, 2019 @ 18:13:51 Author: felixonmars Revision: 499597 upgpkg: brook 20190401-2 golang 1.12.8 security rebuild Modified: brook/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-08-15 18:13:06 UTC (rev 499596) +++ PKGBUILD2019-08-15 18:13:51 UTC (rev 499597) @@ -3,7 +3,7 @@ pkgname=brook pkgver=20190401 -pkgrel=1 +pkgrel=2 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') url="https://github.com/txthinking/brook";
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Wednesday, April 24, 2019 @ 19:30:46 Author: felixonmars Revision: 453426 upgpkg: brook 20190401-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-04-24 19:29:34 UTC (rev 453425) +++ PKGBUILD2019-04-24 19:30:46 UTC (rev 453426) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20190205 +pkgver=20190401 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('f6670ca63c7a359b7ec0904cce60c641f56cbeed276c1d68918593f0b8d40c77f5c28f2f70f6c9938fb7fe0711ac72a06cd095061b6dad7b7f634165d9f0ae4e') +sha512sums=('83d9299666fef59820f1d7b672c93f0c71cd75fd6d6623b6d6784c16ba2a81dadb7288086d84469552db424fc09564436d21d3c064b1aaeb9f7e7912ba41f48d') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Sunday, February 10, 2019 @ 18:23:07 Author: felixonmars Revision: 431639 upgpkg: brook 20190205-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-10 18:22:59 UTC (rev 431638) +++ PKGBUILD2019-02-10 18:23:07 UTC (rev 431639) @@ -2,7 +2,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20180909 +pkgver=20190205 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('788067f01d79be5d35737ce04e4d3b4cf26111e0b567b27b1e295820759d46332f4cc8645c955b5c317ce5998e059baf4963be32ea4ecd7015abb77f98d8213e') +sha512sums=('f6670ca63c7a359b7ec0904cce60c641f56cbeed276c1d68918593f0b8d40c77f5c28f2f70f6c9938fb7fe0711ac72a06cd095061b6dad7b7f634165d9f0ae4e') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Sunday, September 2, 2018 @ 23:29:20 Author: felixonmars Revision: 376174 upgpkg: brook 20180909-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-02 23:22:48 UTC (rev 376173) +++ PKGBUILD2018-09-02 23:29:20 UTC (rev 376174) @@ -3,7 +3,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20180707 +pkgver=20180909 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -12,7 +12,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('1824207972013825736064cd08fe50aa0958d79c86fa19b8e449377130c690680ef7efcae6ed517e6673ae16c83387c6185e69da75f892860fa6882eac091f8d') +sha512sums=('788067f01d79be5d35737ce04e4d3b4cf26111e0b567b27b1e295820759d46332f4cc8645c955b5c317ce5998e059baf4963be32ea4ecd7015abb77f98d8213e') prepare() { cd brook-$pkgver @@ -24,7 +24,7 @@ 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/urfave/cli github.com/txthinking/gotun2socks } build() {
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Thursday, July 12, 2018 @ 08:52:34 Author: felixonmars Revision: 357608 upgpkg: brook 20180707-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-12 08:34:43 UTC (rev 357607) +++ PKGBUILD2018-07-12 08:52:34 UTC (rev 357608) @@ -3,7 +3,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20180601 +pkgver=20180707 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -12,7 +12,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('ff5f09f317110ae10cd15eb451023b207cb366b7f91b983550b7f0a00b9e0488a219f2b92a07c3659853d970d01b3b0dc686fff35a6326c6b175199970dda515') +sha512sums=('1824207972013825736064cd08fe50aa0958d79c86fa19b8e449377130c690680ef7efcae6ed517e6673ae16c83387c6185e69da75f892860fa6882eac091f8d') prepare() { cd brook-$pkgver @@ -23,7 +23,7 @@ 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/socks5 golang.org/x/net/proxy \ github.com/urfave/cli }
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Wednesday, May 30, 2018 @ 07:36:06 Author: felixonmars Revision: 15 upgpkg: brook 20180601-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-30 07:35:59 UTC (rev 14) +++ PKGBUILD2018-05-30 07:36:06 UTC (rev 15) @@ -3,7 +3,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20180401 +pkgver=20180601 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -12,7 +12,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('515a0fec61e1411bfebb5b49abf94b3743f80d2802e90eb4586702829304893cef1babd7d7757fc73b464ac2a7bafa8c7c501457e2a5a4963fa708fae50a7166') +sha512sums=('ff5f09f317110ae10cd15eb451023b207cb366b7f91b983550b7f0a00b9e0488a219f2b92a07c3659853d970d01b3b0dc686fff35a6326c6b175199970dda515') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Sunday, May 13, 2018 @ 19:46:53 Author: felixonmars Revision: 321650 upgpkg: brook 20180401-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-13 19:42:09 UTC (rev 321649) +++ PKGBUILD2018-05-13 19:46:53 UTC (rev 321650) @@ -3,7 +3,7 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20180227 +pkgver=20180401 pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') @@ -12,7 +12,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('0c05aa8e72e06e61dfd5e8548072653e4e034e622d664fa1e35cb55744a3c37eea1e1f0fe1f3d06b2e8d4822a924bc1660a6d7943a76f9fbe09807ee8387e729') +sha512sums=('515a0fec61e1411bfebb5b49abf94b3743f80d2802e90eb4586702829304893cef1babd7d7757fc73b464ac2a7bafa8c7c501457e2a5a4963fa708fae50a7166') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
Date: Monday, March 12, 2018 @ 17:46:01 Author: felixonmars Revision: 306469 upgpkg: brook 20180227-1 Modified: brook/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-12 17:45:53 UTC (rev 306468) +++ PKGBUILD2018-03-12 17:46:01 UTC (rev 306469) @@ -3,8 +3,8 @@ # Contributor: Kasei Wang pkgname=brook -pkgver=20171113 -pkgrel=2 +pkgver=20180227 +pkgrel=1 pkgdesc="A cross-platform proxy/vpn software" arch=('x86_64') url="https://github.com/txthinking/brook"; @@ -12,7 +12,7 @@ depends=('glibc') makedepends=('go-pie' 'git') source=("$pkgname-$pkgver.tar.gz::https://github.com/txthinking/brook/archive/v$pkgver.tar.gz";) -sha512sums=('b0492bfdc241aa62533d7be90ad5777b77bab705df2d5a9fbad018dce6b093a7dfb0181144ed98beb9550068531ab2e5b23efd2e941d5b30755edab1156fd186') +sha512sums=('0c05aa8e72e06e61dfd5e8548072653e4e034e622d664fa1e35cb55744a3c37eea1e1f0fe1f3d06b2e8d4822a924bc1660a6d7943a76f9fbe09807ee8387e729') prepare() { cd brook-$pkgver
[arch-commits] Commit in brook/trunk (PKGBUILD)
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 === --- PKGBUILD2018-01-09 17:02:19 UTC (rev 280713) +++ PKGBUILD2018-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 }