Date: Tuesday, December 7, 2021 @ 02:25:15 Author: polyzen Revision: 1065432
archrelease: copy trunk to community-any Added: pyright/repos/community-any/PKGBUILD (from rev 1065431, pyright/trunk/PKGBUILD) Deleted: pyright/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-07 02:24:53 UTC (rev 1065431) +++ PKGBUILD 2021-12-07 02:25:15 UTC (rev 1065432) @@ -1,42 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> - -pkgname=pyright -pkgver=1.1.192 -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=('4049c2cfd77ad5261aedaf7b6ecf495d5d0b26de6efcf19101cf08fb4d3cbac617acc5fdcfdb6ef497ed92be31f8ea78083eef3965f0e99e18dc79427a882c2f') - -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 1065431, pyright/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-07 02:25:15 UTC (rev 1065432) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> + +pkgname=pyright +pkgver=1.1.193 +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=('d91202124723f8de6e18acedd64d9788f7cd9f462e6e0754fd77bc614775d61ddfc3ca60081d8da718160a072df22acc7a1765bb9ff4e5859b1c3d4548c086b0') + +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: