[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Jan 19 21:48:59 UTC 2022
Date: Wednesday, January 19, 2022 @ 21:48:59
Author: polyzen
Revision: 1110858
archrelease: copy trunk to community-any
Added:
pyright/repos/community-any/PKGBUILD
(from rev 1110856, pyright/trunk/PKGBUILD)
Deleted:
pyright/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-19 21:48:53 UTC (rev 1110857)
+++ PKGBUILD 2022-01-19 21:48:59 UTC (rev 1110858)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.211
-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=('d605aeaf76b34b88e74580bba6e7fd21f4e12906a0e6718bf03bc0f744d98201533f101b02e096017956fb644f4cc447a39f908d60168e13ba8d96f27c6389db')
-
-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 1110856, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-19 21:48:59 UTC (rev 1110858)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.212
+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=('4c4d2df68c04f5f80bfc0bd229b88a84fc85e101b3a0be5be19cbf6c5bea4196388d673aba1b512fc7b5e1af4b455ad09a6812dae29dc46df07c32a278f7a5b9')
+
+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