[arch-commits] Commit in typescript-language-server/repos/community-any (2 files)

Daniel M. Capella polyzen at gemini.archlinux.org
Thu Aug 25 20:05:27 UTC 2022


    Date: Thursday, August 25, 2022 @ 20:05:27
  Author: polyzen
Revision: 1280199

archrelease: copy trunk to community-any

Added:
  typescript-language-server/repos/community-any/PKGBUILD
    (from rev 1280198, typescript-language-server/trunk/PKGBUILD)
Deleted:
  typescript-language-server/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-25 20:05:04 UTC (rev 1280198)
+++ PKGBUILD	2022-08-25 20:05:27 UTC (rev 1280199)
@@ -1,45 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=typescript-language-server
-pkgver=1.1.1
-pkgrel=1
-pkgdesc='Language Server Protocol (LSP) implementation for TypeScript using tsserver'
-url=https://github.com/theia-ide/typescript-language-server
-arch=('any')
-license=('Apache')
-depends=('typescript')
-makedepends=('jq' 'yarn')
-checkdepends=('npm')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('4a5f32f8875c36975dedc756ebf7865374597f192d266c6991f307a7e1948cb596edc2b3fa6fdbcc65e0fb9d523763a7f4df22b0fbe8933c20f2c287dee7f14b')
-
-prepare() {
-  cd $pkgname-$pkgver
-  yarn --frozen-lockfile
-}
-
-build() {
-  cd $pkgname-$pkgver
-  yarn compile # Needs bin links
-}
-
-check() {
-  cd $pkgname-$pkgver
-  yarn test
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  # Emulate `npm prune --production`
-  cp package.json{,.bak}
-  read -ra devDependencies < <(jq -r '.devDependencies | keys | join(" ")' package.json)
-  yarn remove --frozen-lockfile "${devDependencies[@]}"
-  mv package.json{.bak,}
-
-  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname}
-  ln -s ../lib/node_modules/$pkgname/lib/cli.js "$pkgdir"/usr/bin/$pkgname
-  chmod +x lib/cli.js
-  cp -r lib node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname {CHANGELOG,README}.md
-}

Copied: typescript-language-server/repos/community-any/PKGBUILD (from rev 1280198, typescript-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-25 20:05:27 UTC (rev 1280199)
@@ -0,0 +1,45 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=typescript-language-server
+pkgver=1.1.2
+pkgrel=1
+pkgdesc='Language Server Protocol (LSP) implementation for TypeScript using tsserver'
+url=https://github.com/theia-ide/typescript-language-server
+arch=('any')
+license=('Apache')
+depends=('typescript')
+makedepends=('jq' 'yarn')
+checkdepends=('npm')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('8d9f3b9017dfd631b273a8ba8c4f240f4720fd08ab6a070bae9043bde85196569eb1cfe13743903cbfac6e249dc2898b29f1b4c3685418e543767a04af22544a')
+
+prepare() {
+  cd $pkgname-$pkgver
+  yarn --frozen-lockfile
+}
+
+build() {
+  cd $pkgname-$pkgver
+  yarn compile # Needs bin links
+}
+
+check() {
+  cd $pkgname-$pkgver
+  yarn test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  # Emulate `npm prune --production`
+  cp package.json{,.bak}
+  read -ra devDependencies < <(jq -r '.devDependencies | keys | join(" ")' package.json)
+  yarn remove --frozen-lockfile "${devDependencies[@]}"
+  mv package.json{.bak,}
+
+  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname}
+  ln -s ../lib/node_modules/$pkgname/lib/cli.js "$pkgdir"/usr/bin/$pkgname
+  chmod +x lib/cli.js
+  cp -r lib node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname {CHANGELOG,README}.md
+}



More information about the arch-commits mailing list