Date: Thursday, July 1, 2021 @ 05:04:02 Author: polyzen Revision: 969131
archrelease: copy trunk to community-any Added: pyright/repos/community-any/PKGBUILD (from rev 969130, pyright/trunk/PKGBUILD) Deleted: pyright/repos/community-any/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-01 05:03:37 UTC (rev 969130) +++ PKGBUILD 2021-07-01 05:04:02 UTC (rev 969131) @@ -1,39 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> - -pkgname=pyright -pkgver=1.1.153 -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=('f28c9bf4a219e7a7045e4a6cd038e3fff0756d98aca0516ea722a7af7f0f746bdbb16e17ead8bd93cffc5f054712ace1fc665bab761e3a4809dabef4281f235f') - -build() { - cd $pkgname-$pkgver - npm ci - cd 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 969130, pyright/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-01 05:04:02 UTC (rev 969131) @@ -0,0 +1,39 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> + +pkgname=pyright +pkgver=1.1.154 +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=('b2cdfa0231c608170080011d399d201161d9c7367a1230cb738cab43b8296ada91f766cb73757bae54e96d942f31d086ccd3427195d9c893d6140bbc32227f28') + +build() { + cd $pkgname-$pkgver + npm ci + cd 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: