[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Jan 9 23:47:41 UTC 2022
Date: Sunday, January 9, 2022 @ 23:47:41
Author: polyzen
Revision: 1098760
archrelease: copy trunk to community-any
Added:
pyright/repos/community-any/PKGBUILD
(from rev 1098759, pyright/trunk/PKGBUILD)
Deleted:
pyright/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-09 23:47:20 UTC (rev 1098759)
+++ PKGBUILD 2022-01-09 23:47:41 UTC (rev 1098760)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.205
-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=('54b7e78447257f89e1833be0a3ebf6f26bd12e0e34e637b972c3f1737e36936e1ff6e84533cc458f7b23501878f02fdb6d738a9439b5160de0c7f2b421292274')
-
-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 1098759, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-09 23:47:41 UTC (rev 1098760)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.206
+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=('62a2c84268ef598c7c3aafe897e9fd61a22dd4509d8b33d02a0f3614f197ef3a377d3491ad12b0609344c2f45e0cc865d060f7ba0a1148c08ea7df17afa865e5')
+
+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