[arch-commits] Commit in pyright/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Nov 30 08:39:26 UTC 2021
Date: Tuesday, November 30, 2021 @ 08:39:25
Author: polyzen
Revision: 1057682
archrelease: copy trunk to community-any
Added:
pyright/repos/community-any/PKGBUILD
(from rev 1057681, pyright/trunk/PKGBUILD)
Deleted:
pyright/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-30 08:39:07 UTC (rev 1057681)
+++ PKGBUILD 2021-11-30 08:39:25 UTC (rev 1057682)
@@ -1,42 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=pyright
-pkgver=1.1.190
-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=('5b71260f1f4411f116d1bb94c10525f26df15bd08a7861fdbbe6f628d6ef43691cd5d4c2e60c46731a2d02bf08866ab6b90cad132d9ad31b585d0b8c0a87b34b')
-
-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 1057681, pyright/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-30 08:39:25 UTC (rev 1057682)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=pyright
+pkgver=1.1.191
+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=('d71ec5b6289bc0905f6c5f0e6082032702d4a562033da51a41770cef4f228642a9f9a2246212f736049d61d5c7d385ebeb975bd92afee99d3a0be4a159c1bfe5')
+
+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