[arch-commits] Commit in yaml-language-server/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu Dec 2 01:04:40 UTC 2021
Date: Thursday, December 2, 2021 @ 01:04:40
Author: polyzen
Revision: 1061542
archrelease: copy trunk to community-any
Added:
yaml-language-server/repos/community-any/PKGBUILD
(from rev 1061541, 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-12-02 01:04:22 UTC (rev 1061541)
+++ PKGBUILD 2021-12-02 01:04:40 UTC (rev 1061542)
@@ -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.2.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=('875be271f93f02b5e8bdff25c83c55a593d1cf6e7d1807c32ed8636fea7be22c8a7a5e512e18519bc8422bd6840fd492334e48c0fa6f538af8bc4c091ffa9407')
-
-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 1061541, yaml-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 01:04:40 UTC (rev 1061542)
@@ -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.2
+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=('f6ed50bd24be059e6b601264e6b66b0bc2cc7bafbf7e05555891d79b3a71d4673fe9996868b6769bf046403c5d866667aa3634b3997e986e8ccbd178b0ea0dfd')
+
+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