Date: Monday, November 22, 2021 @ 22:26:51 Author: polyzen Revision: 1054387
archrelease: copy trunk to community-any Added: pyright/repos/community-any/PKGBUILD (from rev 1054386, pyright/trunk/PKGBUILD) Deleted: pyright/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-22 22:26:31 UTC (rev 1054386) +++ PKGBUILD 2021-11-22 22:26:51 UTC (rev 1054387) @@ -1,42 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> - -pkgname=pyright -pkgver=1.1.188 -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=('4b2cc28291fd657840f9b4be8aa8803eba87b9c4f65369d71695a1cbd95b2e42457b0f42b61fad38e7f92a8abe4b9c931ea231699f9ac36e8299da9007633245') - -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 1054386, pyright/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-22 22:26:51 UTC (rev 1054387) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> + +pkgname=pyright +pkgver=1.1.189 +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=('5c78e8d5470352f8801a77e9252f89e1041e9a9be1298f43d0fafb18c9ef70a39b4e87ee7260ef9cfe80fab33c3471637a37bd5182fe6e2fb4a0df74b7ba9af0') + +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: