[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Jan 15 02:13:38 UTC 2022


    Date: Saturday, January 15, 2022 @ 02:13:37
  Author: polyzen
Revision: 1103760

archrelease: copy trunk to community-any

Added:
  pyright/repos/community-any/PKGBUILD
    (from rev 1103759, pyright/trunk/PKGBUILD)
Deleted:
  pyright/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-15 02:13:05 UTC (rev 1103759)
+++ PKGBUILD	2022-01-15 02:13:37 UTC (rev 1103760)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.208
-pkgrel=1
-pkgdesc='Type checker for the Python language'
-arch=('any')
-url=https://github.com/microsoft/pyright
-license=('MIT')
-depends=('nodejs>=12')
-makedepends=('npm')
-source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('0c510198ea97620e9356d5ab51e78b66f6f8e7f412c72c1e91b419d37fa6280c570f84be1cca6554bb9f1dc5016e3a9899277793a9f0d10f8b8ac8f80122442c')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm ci
-}
-
-build() {
-  cd $pkgname-$pkgver/packages/$pkgname
-  npm run build
-}
-
-package() {
-  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
-  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
-  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
-    "$pkgdir"/usr/bin/$pkgname-langserver
-
-  cd $pkgname-$pkgver
-  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
-  cd packages/$pkgname
-  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
-}
-
-# vim:set ts=2 sw=2 et:

Copied: pyright/repos/community-any/PKGBUILD (from rev 1103759, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-15 02:13:37 UTC (rev 1103760)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.209
+pkgrel=1
+pkgdesc='Type checker for the Python language'
+arch=('any')
+url=https://github.com/microsoft/pyright
+license=('MIT')
+depends=('nodejs>=12')
+makedepends=('npm')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('495e2809d1ee6d4ffa90b427efe8740d4df5805673ead5883b2e55d6f6dab53ea8e58823400e2fc29c1d5c99d806ad42a8b288fdaf87ba2f4cb755e8bc486fe3')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm ci
+}
+
+build() {
+  cd $pkgname-$pkgver/packages/$pkgname
+  npm run build
+}
+
+package() {
+  install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname}
+  ln -s ../lib/node_modules/$pkgname/index.js "$pkgdir"/usr/bin/$pkgname
+  ln -s ../lib/node_modules/$pkgname/langserver.index.js \
+    "$pkgdir"/usr/bin/$pkgname-langserver
+
+  cd $pkgname-$pkgver
+  cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+  cd packages/$pkgname
+  cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list