[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed May 25 07:06:28 UTC 2022
Date: Wednesday, May 25, 2022 @ 07:06:28
Author: polyzen
Revision: 1210322
archrelease: copy trunk to community-any
Added:
pyright/repos/community-any/PKGBUILD
(from rev 1210321, pyright/trunk/PKGBUILD)
Deleted:
pyright/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-25 07:05:59 UTC (rev 1210321)
+++ PKGBUILD 2022-05-25 07:06:28 UTC (rev 1210322)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.248
-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=('f5e0d2dc8764893daefe8bb62e678923a69e351a7541077d98dc20b121b345ad847ebfe84bc5324db44968be897a686473a682557a32ea3ab7733b3ddaa65aa2')
-
-prepare() {
- cd $pkgname-$pkgver
- npm ci
-}
-
-build() {
- cd $pkgname-$pkgver/packages/$pkgname
- npm run build
-}
-
-package() {
- local _npmdir=/usr/lib/node_modules/$pkgname
- install -d "$pkgdir"/{usr/bin,$_npmdir,usr/share/doc/$pkgname}
- ln -s $_npmdir/index.js "$pkgdir"/usr/bin/$pkgname
- ln -s $_npmdir/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"/$_npmdir
-}
-
-# vim:set ts=2 sw=2 et:
Copied: pyright/repos/community-any/PKGBUILD (from rev 1210321, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-25 07:06:28 UTC (rev 1210322)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.249
+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=('1d0569df7615360ce13e3f336bd6479099c66b4b99c2e9f69729a04cea199408ebe4b973bf9bd30e8c3bf58febb9a06c6d41eccbedb17510997036fd3c22beaa')
+
+prepare() {
+ cd $pkgname-$pkgver
+ npm ci
+}
+
+build() {
+ cd $pkgname-$pkgver/packages/$pkgname
+ npm run build
+}
+
+package() {
+ local _npmdir=/usr/lib/node_modules/$pkgname
+ install -d "$pkgdir"/{usr/bin,$_npmdir,usr/share/doc/$pkgname}
+ ln -s $_npmdir/index.js "$pkgdir"/usr/bin/$pkgname
+ ln -s $_npmdir/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"/$_npmdir
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list