Date: Monday, March 12, 2018 @ 17:46:19 Author: felixonmars Revision: 306470
archrelease: copy trunk to community-x86_64 Added: brook/repos/community-x86_64/PKGBUILD (from rev 306469, brook/trunk/PKGBUILD) Deleted: brook/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-12 17:46:01 UTC (rev 306469) +++ PKGBUILD 2018-03-12 17:46:19 UTC (rev 306470) @@ -1,38 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Kasei Wang <cnsdwpc at gmail.com> - -pkgname=brook -pkgver=20171113 -pkgrel=2 -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=('b0492bfdc241aa62533d7be90ad5777b77bab705df2d5a9fbad018dce6b093a7dfb0181144ed98beb9550068531ab2e5b23efd2e941d5b30755edab1156fd186') - -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/pac/blackwhite github.com/txthinking/socks5 golang.org/x/net/proxy \ - github.com/urfave/cli -} - -build() { - cd brook-$pkgver/cli/brook - go build -o brook -} - -package() { - cd brook-$pkgver/cli/brook - install -Dm755 brook "$pkgdir"/usr/bin/brook -} Copied: brook/repos/community-x86_64/PKGBUILD (from rev 306469, brook/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-12 17:46:19 UTC (rev 306470) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Kasei Wang <cnsdwpc at gmail.com> + +pkgname=brook +pkgver=20180227 +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=('0c05aa8e72e06e61dfd5e8548072653e4e034e622d664fa1e35cb55744a3c37eea1e1f0fe1f3d06b2e8d4822a924bc1660a6d7943a76f9fbe09807ee8387e729') + +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/pac/blackwhite github.com/txthinking/socks5 golang.org/x/net/proxy \ + github.com/urfave/cli +} + +build() { + cd brook-$pkgver/cli/brook + go build -o brook +} + +package() { + cd brook-$pkgver/cli/brook + install -Dm755 brook "$pkgdir"/usr/bin/brook +}