From: Shuanglei Tao Date: Sun, 25 Dec 2016 16:58:13 +0000 (+0800) Subject: [ci skip] update README.md X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=44d76e2efcebf326c0fbfbe04fe5bbf26bf53b3d;p=ttyd.git [ci skip] update README.md --- diff --git a/README.md b/README.md index 7a65720..3f673b9 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ make && make install ## Install on Windows -ttyd can be built with [MSYS2][10] on windows, [follow the instructions here](msys2). +ttyd can be built with [MSYS2][10] on windows, The build instructions is [here][13]. > **NOTE:** Native windows console programs may not work correctly due to [pty incompatibility issues][11]. As a workaround, you can use [winpty][12] as a wrapper to invoke the windows program, eg: `ttyd winpty cmd`. @@ -50,7 +50,7 @@ ttyd can be built with [MSYS2][10] on windows, [follow the instructions here](ms opkg install ttyd ``` -> **NOTE:** This may only works for [LEDE][6] snapshots currently, if the install command fails, [compile it yourself](openwrt). +> **NOTE:** This may only works for [LEDE][6] snapshots currently, if the install command fails, [compile it yourself][14]. # Usage @@ -157,3 +157,5 @@ Docker containers are jailed environments which are more secure, this is useful [10]: http://msys2.github.io [11]: https://github.com/mintty/mintty/blob/master/wiki/Tips.md#inputoutput-interaction-with-alien-programs [12]: https://github.com/rprichard/winpty + [13]: https://github.com/tsl0922/ttyd/tree/master/msys2 + [14]: https://github.com/tsl0922/ttyd/tree/master/openwrt diff --git a/msys2/json-c/PKGBUILD b/msys2/json-c/PKGBUILD index 13b847f..ef30b1e 100644 --- a/msys2/json-c/PKGBUILD +++ b/msys2/json-c/PKGBUILD @@ -4,7 +4,7 @@ pkgname=json-c pkgver=0.12.1 pkgrel=1 pkgdesc="A JSON implementation in C" -arch=('any') +arch=('i686' 'x86_64') url="https://github.com/json-c/json-c" license=('MIT') makedepends=('gcc' 'make' 'autoconf') diff --git a/msys2/libwebsockets/PKGBUILD b/msys2/libwebsockets/PKGBUILD index c3d5f99..793d2a7 100644 --- a/msys2/libwebsockets/PKGBUILD +++ b/msys2/libwebsockets/PKGBUILD @@ -4,7 +4,7 @@ pkgname="libwebsockets" pkgver=2.1.0 pkgrel=1 pkgdesc="A lightweight pure C library for websockets (msys)" -arch=('any') +arch=('i686' 'x86_64') url="http://libwebsockets.org" license=('LGPL 2.1') makedepends=('gcc' 'cmake' 'zlib-devel' 'openssl-devel') diff --git a/msys2/ttyd/PKGBUILD b/msys2/ttyd/PKGBUILD index 02568da..60dd2bd 100644 --- a/msys2/ttyd/PKGBUILD +++ b/msys2/ttyd/PKGBUILD @@ -4,10 +4,10 @@ pkgname="ttyd" pkgver=1.2.2 pkgrel=1 pkgdesc="A command-line tool for sharing terminal over the web" -arch=('any') +arch=('i686' 'x86_64') url="https://github.com/tsl0922/ttyd" license=('MIT') -makedepends=('gcc' 'cmake' 'json-c' 'libwebsockets') +makedepends=('gcc' 'cmake' 'json-c' 'libwebsockets' 'vim') source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/tsl0922/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('6e85335c11df68e6401178269920a586bce7e66045bd0b225f6d2bc58356d105')