Date: Wednesday, February 16, 2022 @ 05:36:54 Author: polyzen Revision: 1133427
archrelease: copy trunk to community-any Added: pyright/repos/community-any/PKGBUILD (from rev 1133426, pyright/trunk/PKGBUILD) Deleted: pyright/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-16 05:34:18 UTC (rev 1133426) +++ PKGBUILD 2022-02-16 05:36:54 UTC (rev 1133427) @@ -1,40 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> - -pkgname=pyright -pkgver=1.1.220 -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=('471d202e810822b2bcf62e9f4988a02c408934925d40e997f571fb1692e4dee8e82257380060b58b068b06ea281b05ec095485c2f7e11bcb3cceeca3182b830f') - -prepare() { - cd $pkgname-$pkgver - npm ci -} - -build() { - cd $pkgname-$pkgver/packages/$pkgname - npm run build -} - -package() { - install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname} - 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 - cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt - - cd packages/$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 1133426, pyright/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-16 05:36:54 UTC (rev 1133427) @@ -0,0 +1,40 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Kaizhao Zhang <zhangkaiz...@gmail.com> + +pkgname=pyright +pkgver=1.1.222 +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=('68435fa8561c01df0afe3e3f31be7d876c786a9e4471b7625f54b3f3e95a4e98426f5d139edfe4c629ea7f6de732e75352d2e717e38ed3924085e70b02a63ce6') + +prepare() { + cd $pkgname-$pkgver + npm ci +} + +build() { + cd $pkgname-$pkgver/packages/$pkgname + npm run build +} + +package() { + install -d "$pkgdir"/usr/{bin,lib/node_modules/$pkgname,share/doc/$pkgname} + 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 + cp -r {CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.txt + + cd packages/$pkgname + cp -r dist {,langserver.}index.js "$pkgdir"/usr/lib/node_modules/$pkgname +} + +# vim:set ts=2 sw=2 et: