[arch-commits] Commit in yaml-language-server/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Nov 1 18:47:10 UTC 2021
Date: Monday, November 1, 2021 @ 18:47:10
Author: polyzen
Revision: 1035242
archrelease: copy trunk to community-any
Added:
yaml-language-server/repos/community-any/PKGBUILD
(from rev 1035241, 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-01 18:46:52 UTC (rev 1035241)
+++ PKGBUILD 2021-11-01 18:47:10 UTC (rev 1035242)
@@ -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.0.0
-pkgrel=2
-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=('565b5ae83c5fb6f919ffa0e1cc34a2eafe915b99a863e35f0c34a251b0bdec454b28aae17b50e7a42f880e44a9bfadc7443a66784e3dc06b191c4da0a9d0bc76')
-
-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 1035241, yaml-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-01 18:47:10 UTC (rev 1035242)
@@ -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.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:
More information about the arch-commits
mailing list