[arch-commits] Commit in yaml-language-server/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Mar 9 08:05:07 UTC 2022
Date: Wednesday, March 9, 2022 @ 08:05:06
Author: polyzen
Revision: 1145645
archrelease: copy trunk to community-any
Added:
yaml-language-server/repos/community-any/PKGBUILD
(from rev 1145644, 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 2022-03-09 08:04:44 UTC (rev 1145644)
+++ PKGBUILD 2022-03-09 08:05:06 UTC (rev 1145645)
@@ -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.5.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=('77b5586d0d2b3af4802d949e7f85aa060ab60d6208bb695c200b73e652cdd428383a59e99dc86807c82d48d5bdc7c96ce13fe66c5a690d5baf16ce9706ceb3a8')
-
-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 1145644, yaml-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-09 08:05:06 UTC (rev 1145645)
@@ -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.5.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=('a0d5335da314695d876565ba80ff157d981197d911deea20251e766aed15ae5ef1f8214d202ee66f5378a2f4f543795379ef6b1c0a16ca9fe0b9759e1aa02f7a')
+
+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