[arch-commits] Commit in vscode-languageservers/repos/community-any (2 files)

Daniel M. Capella polyzen at gemini.archlinux.org
Thu Dec 9 04:12:49 UTC 2021


    Date: Thursday, December 9, 2021 @ 04:12:49
  Author: polyzen
Revision: 1065803

archrelease: copy trunk to community-any

Added:
  vscode-languageservers/repos/community-any/PKGBUILD
    (from rev 1065802, vscode-languageservers/trunk/PKGBUILD)
Deleted:
  vscode-languageservers/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-09 04:12:27 UTC (rev 1065802)
+++ PKGBUILD	2021-12-09 04:12:49 UTC (rev 1065803)
@@ -1,65 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Ilango Rajagopal <ilangokul at gmail.com>
-
-pkgname=('vscode-css-languageserver' 'vscode-html-languageserver' 'vscode-json-languageserver')
-pkgbase=vscode-languageservers
-pkgver=1.62.3
-pkgrel=1
-pkgdesc='VS Code language servers'
-arch=('any')
-url=https://github.com/Microsoft/vscode
-license=('MIT')
-depends=('nodejs')
-makedepends=('git' 'typescript' 'yarn')
-source=("git+$url.git#tag=$pkgver")
-b2sums=('SKIP')
-
-prepare() {
-  for i in 'css' 'html' 'json'; do
-    pushd vscode/extensions/$i-language-features/server
-    yarn --frozen-lockfile
-    popd
-  done
-}
-
-build() {
-  for i in 'css' 'html' 'json'; do
-    pushd vscode/extensions/$i-language-features/server
-    tsc || true
-    popd
-  done
-}
-
-_package() {
-  install -d "$pkgdir"/usr/{bin,lib/node_modules/"$1"}
-
-  cd vscode/extensions
-
-  case "$1" in
-    vscode-css-languageserver)
-      pkgdesc='VS Code CSS language server'
-
-      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/cssServerMain');" > "$pkgdir"/usr/bin/"$1"
-      cd css-language-features/server;;
-    vscode-html-languageserver)
-      pkgdesc='VS Code HTML language server'
-
-      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/htmlServerMain');" > "$pkgdir"/usr/bin/"$1"
-      cd html-language-features/server;;
-    vscode-json-languageserver)
-      pkgdesc='VS Code JSON language server'
-
-      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/jsonServerMain');" > "$pkgdir"/usr/bin/"$1"
-      cd json-language-features/server;;
-  esac
-
-  chmod +x "$pkgdir"/usr/bin/"$1"
-  rm -r node_modules/@types
-  cp -r node_modules out package.json "$pkgdir"/usr/lib/node_modules/"$1"
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/"$1" \
-    "$srcdir"/vscode/LICENSE.txt
-}
-
-for _pkgname in "${pkgname[@]}"; do
-  eval "package_$_pkgname() { _package $_pkgname; }"
-done

Copied: vscode-languageservers/repos/community-any/PKGBUILD (from rev 1065802, vscode-languageservers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-09 04:12:49 UTC (rev 1065803)
@@ -0,0 +1,65 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Ilango Rajagopal <ilangokul at gmail.com>
+
+pkgname=('vscode-css-languageserver' 'vscode-html-languageserver' 'vscode-json-languageserver')
+pkgbase=vscode-languageservers
+pkgver=1.63.0
+pkgrel=1
+pkgdesc='VS Code language servers'
+arch=('any')
+url=https://github.com/Microsoft/vscode
+license=('MIT')
+depends=('nodejs')
+makedepends=('git' 'typescript' 'yarn')
+source=("git+$url.git#tag=$pkgver")
+b2sums=('SKIP')
+
+prepare() {
+  for i in 'css' 'html' 'json'; do
+    pushd vscode/extensions/$i-language-features/server
+    yarn --frozen-lockfile
+    popd
+  done
+}
+
+build() {
+  for i in 'css' 'html' 'json'; do
+    pushd vscode/extensions/$i-language-features/server
+    tsc || true
+    popd
+  done
+}
+
+_package() {
+  install -d "$pkgdir"/usr/{bin,lib/node_modules/"$1"}
+
+  cd vscode/extensions
+
+  case "$1" in
+    vscode-css-languageserver)
+      pkgdesc='VS Code CSS language server'
+
+      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/cssServerMain');" > "$pkgdir"/usr/bin/"$1"
+      cd css-language-features/server;;
+    vscode-html-languageserver)
+      pkgdesc='VS Code HTML language server'
+
+      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/htmlServerMain');" > "$pkgdir"/usr/bin/"$1"
+      cd html-language-features/server;;
+    vscode-json-languageserver)
+      pkgdesc='VS Code JSON language server'
+
+      printf '%s\n' '#!/usr/bin/env node' "require('/usr/lib/node_modules/$1/out/node/jsonServerMain');" > "$pkgdir"/usr/bin/"$1"
+      cd json-language-features/server;;
+  esac
+
+  chmod +x "$pkgdir"/usr/bin/"$1"
+  rm -r node_modules/@types
+  cp -r node_modules out package.json "$pkgdir"/usr/lib/node_modules/"$1"
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/"$1" \
+    "$srcdir"/vscode/LICENSE.txt
+}
+
+for _pkgname in "${pkgname[@]}"; do
+  eval "package_$_pkgname() { _package $_pkgname; }"
+done



More information about the arch-commits mailing list