[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Wed Sep 1 01:19:03 UTC 2021
Date: Wednesday, September 1, 2021 @ 01:19:03
Author: polyzen
Revision: 1010244
archrelease: copy trunk to community-any
Added:
pyright/repos/community-any/PKGBUILD
(from rev 1010243, pyright/trunk/PKGBUILD)
Deleted:
pyright/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-01 01:18:44 UTC (rev 1010243)
+++ PKGBUILD 2021-09-01 01:19:03 UTC (rev 1010244)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.164
-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=('e8cb1ae486a4807a459e1a55d5f54e213ab4aad1638189c0a786f1b31e560d3c4284dc8f0d41b160d5c92b0cfb06a43d350ad4d11917e5230a4e8ecb5cab35db')
-
-prepare() {
- cd $pkgname-$pkgver
- npm ci
-}
-
-build() {
- cd $pkgname-$pkgver/packages/$pkgname
- npm run build
-}
-
-package() {
- install -d "$pkgdir"/usr/bin
- 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
- install -d "$pkgdir"/usr/share/doc/$pkgname
- cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
-
- cd packages/$pkgname
- install -d "$pkgdir"/usr/lib/node_modules/$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 1010243, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-01 01:19:03 UTC (rev 1010244)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.165
+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=('b6a730f736b2521ee7222be93292618981dc237c064be323b90f316503ab9d80d29ccb349da2de27546fc78c385ef34241aa2e7adc895079cf2254eafb8c8f0a')
+
+prepare() {
+ cd $pkgname-$pkgver
+ npm ci
+}
+
+build() {
+ cd $pkgname-$pkgver/packages/$pkgname
+ npm run build
+}
+
+package() {
+ install -d "$pkgdir"/usr/bin
+ 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
+ install -d "$pkgdir"/usr/share/doc/$pkgname
+ cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt
+
+ cd packages/$pkgname
+ install -d "$pkgdir"/usr/lib/node_modules/$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