[arch-commits] Commit in yaml-language-server/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Fri Nov 5 15:26:32 UTC 2021


    Date: Friday, November 5, 2021 @ 15:26:31
  Author: polyzen
Revision: 1037220

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-05 15:26:08 UTC (rev 1037219)
+++ PKGBUILD	2021-11-05 15:26:31 UTC (rev 1037220)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: hexchain <i at hexchain dot org>
-
-pkgname=yaml-language-server
-pkgver=1.1.0
-pkgrel=1
-pkgdesc='YAML Language Server'
-url=https://github.com/redhat-developer/yaml-language-server
-license=('MIT')
-arch=('any')
-depends=('nodejs')
-makedepends=('jq' 'yarn')
-options=('!emptydirs')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('2d537db6c0464c2f32551ca50a8a41c86db04d59b9f8c35ba1f7589f92754065dc29e3377c2d8b6b5765c283395feef8071a115b5720169d98220df58ba7c1cb')
-
-build() {
-  cd $pkgname-$pkgver
-  yarn --frozen-lockfile
-  yarn compile
-  yarn build:libs
-}
-
-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/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
-  cp -r bin lib node_modules out package.json \
-    "$pkgdir"/usr/lib/node_modules/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname {CHANGELOG,README}.md
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: yaml-language-server/repos/community-any/PKGBUILD (from rev 1037219, yaml-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-05 15:26:31 UTC (rev 1037220)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: hexchain <i at hexchain dot org>
+
+pkgname=yaml-language-server
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='YAML Language Server'
+url=https://github.com/redhat-developer/yaml-language-server
+license=('MIT')
+arch=('any')
+depends=('nodejs')
+makedepends=('jq' 'yarn')
+options=('!emptydirs')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('f62e397cfab983a42f47edfa5118c40d5017345a048210bcf6ee8be920da660314350d1202902a0c0ee2b8fd45f1a9fa2b4c2cb3ddcbbb382487356d1330efed')
+
+build() {
+  cd $pkgname-$pkgver
+  yarn --frozen-lockfile
+  yarn compile
+  yarn build:libs
+}
+
+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/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+  cp -r bin lib node_modules out package.json \
+    "$pkgdir"/usr/lib/node_modules/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname {CHANGELOG,README}.md
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list