Package Details: code-server 3.6.0-1

Git Clone URL: https://aur.archlinux.org/code-server.git (read-only, click to copy)
Package Base: code-server
Description: VS Code in the browser
Upstream URL: https://github.com/cdr/code-server
Keywords: code coder.com visual-studio-code vscode
Licenses: MIT
Submitter: hvksmr1996
Maintainer: coadler (nhooyr)
Last Packager: nhooyr
Votes: 10
Popularity: 1.10
First Submitted: 2019-03-11 14:32
Last Updated: 2020-10-12 08:10

Latest Comments

1 2 Next › Last »

PythonNut commented on 2020-09-23 01:41

I’m still rubbing into the link severed issue on the latest version of this package when trying to enable the user service.

jdewinne commented on 2020-07-28 20:14

Can you change line 40 into

cp "$pkgname-$pkgver.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"

This should fix the Link has been severed issue.

RichA commented on 2020-07-07 13:42

$ yay -S code-server

Runs OK, but...

$ systemctl --user enable --now code-server

yields

Failed to enable unit: File code-server.service: Link has been severed

jadenPete commented on 2020-07-04 00:01

When installed, /usr/lib/systemd/user/code-server.service is a severed symbolic link. Could you please fix this?

02strich commented on 2020-05-31 04:56

Had a similar problem with the service file and replaced the respective lines with install commands. Otherwise very nice - thank you

coadler commented on 2020-05-20 03:24

Fixed. Thanks

ava1ar commented on 2020-05-17 15:18

Replace line 21 in PKGBUILD with

ln -s /opt/$pkgname/code-server $pkgdir/usr/bin/$pkgname

Symlink you are creating now is invalid and points to the build location, not to the binary in /opt.

ben0mega commented on 2020-04-03 02:22

Took a stab at writing a new pkgbuild for the new download location:

# https://github.com/cdr/code-server/releases/download/3.0.2/code-server-3.0.2-linux-x86_64.tar.gz
pkgname=code-server
pkgver="3.0.2"
pkgrel=0
pkgdesc="Run VS Code on a remote server"
arch=('x86_64')
url="https://github.com/cdr/code-server"
license=(MIT)
depends=(glibc)
_dirname=code-server-${pkgver}-linux-x86_64
source=(${url}/releases/download/${pkgver}/${_dirname}.tar.gz)
sha512sums=('c581a7fed4448a539bc5aed6d756cf9f98fca545e3e4c8a28b9b5554b8174a07fbd07cb4f3e0eec09040af58838cf7e86cd92a5b11ecb14d2a8316b5de4401de')
options=('!strip')

package() {
  cd "$srcdir"/"${_dirname}"
  find . -type f -exec install -Dm 755 "{}" "$pkgdir/opt/$pkgname/{}" \;
  mkdir -p $pkgdir/usr/bin/
  ln -s $pkgdir/opt/$pkgname/code-server $pkgdir/usr/bin/$pkgname
  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

coadler commented on 2019-09-17 20:43

@EnKrypt should be good now.

coadler commented on 2019-09-17 20:36

My bad. Didn't realize Asher was testing auto publishing on CI and he removed them. Will fix