Date: Wednesday, May 10, 2023 @ 19:50:47 Author: polyzen Revision: 1459820
archrelease: copy trunk to community-any Added: typescript-svelte-plugin/repos/community-any/PKGBUILD (from rev 1459819, typescript-svelte-plugin/trunk/PKGBUILD) Deleted: typescript-svelte-plugin/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-10 19:50:25 UTC (rev 1459819) +++ PKGBUILD 2023-05-10 19:50:47 UTC (rev 1459820) @@ -1,38 +0,0 @@ -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=typescript-svelte-plugin -pkgver=0.3.23 -pkgrel=1 -pkgdesc='TypeScript plugin for Svelte intellisense' -url=https://github.com/sveltejs/language-tools/tree/master/packages/typescript-plugin -license=('MIT') -arch=('any') -depends=('nodejs') -makedepends=('yarn') -source=("https://github.com/sveltejs/language-tools/archive/typescript-plugin-$pkgver/$pkgname-$pkgver.tar.gz") -b2sums=('567863338eb473950480f38cdec7ec5bc4901be35bf9c769ceae0a841ce5ef76b6099f55e23d933d169fc78f57a5ac41f8300575c18d7c1314bd8f3888586591') - -build() { - cd language-tools-typescript-plugin-$pkgver - yarn --frozen-lockfile - yarn workspace svelte2tsx build - cd packages/typescript-plugin - yarn build -} - -package() { - install -d "$pkgdir"/usr/lib/node_modules/$pkgname - - cd language-tools-typescript-plugin-$pkgver - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE - - # Emulate `npm prune --production` - mv package.json{,.bak} - cd packages/typescript-plugin - yarn --frozen-lockfile --production - mv ../../package.json{.bak,} - - cp -r dist node_modules package.json \ - "$pkgdir"/usr/lib/node_modules/$pkgname - install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md -} Copied: typescript-svelte-plugin/repos/community-any/PKGBUILD (from rev 1459819, typescript-svelte-plugin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-10 19:50:47 UTC (rev 1459820) @@ -0,0 +1,38 @@ +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=typescript-svelte-plugin +pkgver=0.3.25 +pkgrel=1 +pkgdesc='TypeScript plugin for Svelte intellisense' +url=https://github.com/sveltejs/language-tools/tree/master/packages/typescript-plugin +license=('MIT') +arch=('any') +depends=('nodejs') +makedepends=('yarn') +source=("https://github.com/sveltejs/language-tools/archive/typescript-plugin-$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('d729cf8f4e39bfe239eb09c2cdfcd36a1f99a20fc3f5c5aeb93ddfe536bd4b9f92e25eaebc52371b6e534d26cb727c69c8a9c81cefeac8d1372ab27c47e19af7') + +build() { + cd language-tools-typescript-plugin-$pkgver + yarn --frozen-lockfile + yarn workspace svelte2tsx build + cd packages/typescript-plugin + yarn build +} + +package() { + install -d "$pkgdir"/usr/lib/node_modules/$pkgname + + cd language-tools-typescript-plugin-$pkgver + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE + + # Emulate `npm prune --production` + mv package.json{,.bak} + cd packages/typescript-plugin + yarn --frozen-lockfile --production + mv ../../package.json{.bak,} + + cp -r dist node_modules package.json \ + "$pkgdir"/usr/lib/node_modules/$pkgname + install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md +}