[arch-commits] Commit in yaml-language-server/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Nov 10 15:59:16 UTC 2021
Date: Wednesday, November 10, 2021 @ 15:59:16
Author: polyzen
Revision: 1039781
archrelease: copy trunk to community-any
Added:
yaml-language-server/repos/community-any/PKGBUILD
(from rev 1039780, 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-10 15:58:57 UTC (rev 1039780)
+++ PKGBUILD 2021-11-10 15:59:16 UTC (rev 1039781)
@@ -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.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:
Copied: yaml-language-server/repos/community-any/PKGBUILD (from rev 1039780, yaml-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-10 15:59:16 UTC (rev 1039781)
@@ -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.2.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=('0e10a3c410e9bc61ea2cc06a003499117a14bfba732695122c13ad4daa211e27eebab8db7af011c7f2f0fa1038992a00c130dd67b885f0dc46fb1a9fde072e12')
+
+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