diff options
author | wener <wenermail@gmail.com> | 2019-07-02 04:05:15 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-05 15:55:27 -0300 |
commit | b35cfaf725e86bda994fada02b713aa190b5fed1 (patch) | |
tree | 4788c64554e142454e0e267da7ec6c530d363286 /testing | |
parent | 52e462a4c9003c41e5a4b098031f4a118e6934f9 (diff) | |
download | aports-b35cfaf725e86bda994fada02b713aa190b5fed1.tar.bz2 aports-b35cfaf725e86bda994fada02b713aa190b5fed1.tar.xz |
testing/code-server: new aport
Run VS Code on a remote server
https://github.com/cdr/code-server
Diffstat (limited to 'testing')
-rw-r--r-- | testing/code-server/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/code-server/APKBUILD b/testing/code-server/APKBUILD new file mode 100644 index 0000000000..1568ed563b --- /dev/null +++ b/testing/code-server/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: wener <wenermail@gmail.com> +# Maintainer: wener <wenermail@gmail.com> +pkgname="code-server" +pkgver="1.1156" +_fullver="1.1156-vsc1.33.1" +pkgrel=0 +pkgdesc="Run VS Code on a remote server" +url="https://github.com/cdr/code-server" +# other arch will failed +arch="x86_64" +license="MIT" +# py3 will fail node-gyp +makedepends="yarn npm python2" +source="$pkgname-$_fullver.tar.gz::https://github.com/cdr/code-server/archive/$_fullver.tar.gz" +builddir="$srcdir/$pkgname-$_fullver" +# there is no test in source +options="!check" + +build() { + yarn + NODE_ENV=production yarn task build:server:binary +} + +package() { + install -D -m 755 "$builddir"/packages/server/cli-musl-x64 "$pkgdir"/usr/bin/code-server +} + +sha512sums="886844e8d89d26974df3f8875ef99b7609ca4e2a75fdad633e7c262469f1b52447ccc9261f919af9f45406e2d5d41458e05432d225db45363b287c7e1dfdb3dd code-server-1.1156-vsc1.33.1.tar.gz" |