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

Felix Yan felixonmars at archlinux.org
Thu Mar 21 19:45:42 UTC 2019


    Date: Thursday, March 21, 2019 @ 19:45:42
  Author: felixonmars
Revision: 443074

upgpkg: kcptun 20190321-1

Modified:
  kcptun/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-21 19:32:57 UTC (rev 443073)
+++ PKGBUILD	2019-03-21 19:45:42 UTC (rev 443074)
@@ -2,8 +2,8 @@
 # Contributor: Kasei Wang <cnsdwpc at gmail.com>
 
 pkgname=kcptun
-pkgver=20190109
-pkgrel=2
+pkgver=20190321
+pkgrel=1
 pkgdesc="A Secure Tunnel Based On KCP with N:M Multiplexing"
 arch=('x86_64')
 url="https://github.com/xtaci/kcptun"
@@ -12,7 +12,7 @@
 makedepends=('go-pie' 'git')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/xtaci/kcptun/archive/v$pkgver.tar.gz"
         'kcptun at .service' 'kcptun-server at .service')
-sha512sums=('189e6af0643e0538de06b69a4399e27762b002af78ebefb4b8971e3fbc734f9f6267f265f992d97947bc6b2e4f10e1cbc652a737320217f25c19e57b2c9d7e03'
+sha512sums=('bf4a204ab16d6e1b14272870ab89e08f64080c61c970d6c5f9793715ce74fd1e2fd4b3e91a5e9e7daeb38f04c37f091ad6ae133cfdef8660f90ae658e0bc5398'
             '6fbe0bd687ec9927fe46484f97a0e1a7605c74af673d2a2257a41819bcbf8b704c1ab8b063993251fc3803fa3caf38b7bfc3cededbd7fe1b57c5e2d234c2e6f6'
             '5526608f2f5056462813812436605d537a5da950d7d2b5b93dab1da443b25ebf15f69609d18ba1c318b0cc75fcc2a8e14f0d33ff7765035063dd89c041b1bd11')
 
@@ -19,13 +19,9 @@
 prepare() {
   cd kcptun-$pkgver
 
-  mkdir build
   mkdir -p .gopath/src/github.com/xtaci
   ln -sf "$PWD" .gopath/src/github.com/xtaci/kcptun
-  export GOPATH="$PWD/.gopath"
-
-  go get golang.org/x/crypto/pbkdf2 github.com/xtaci/smux github.com/xtaci/kcp-go \
-         github.com/urfave/cli github.com/pkg/errors github.com/golang/snappy
+  export GOPATH="$PWD/.gopath:/usr/share/gocode"
 }
 
 build() {


More information about the arch-commits mailing list