Date: Thursday, July 1, 2021 @ 03:00:50 Author: felixonmars Revision: 969117
archrelease: copy trunk to community-any Added: typescript/repos/community-any/PKGBUILD (from rev 969116, typescript/trunk/PKGBUILD) Deleted: typescript/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-01 03:00:38 UTC (rev 969116) +++ PKGBUILD 2021-07-01 03:00:50 UTC (rev 969117) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Bruno Galeotti <bgaleotti at gmail dot com> - -pkgname=typescript -pkgver=4.3.4 -pkgrel=1 -pkgdesc="TypeScript is a language for application scale JavaScript development" -arch=('any') -url="http://typescriptlang.org/" -license=('Apache') -depends=('nodejs') -makedepends=('npm') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('b9ab8f1bb5d99fd17f9a8fbb32bb118f2bdbc45a737a64632846574b800af37a0fd8a28e24fbdbfbd70efe09a7bfc6ab599be19e354e5f3ec1e3d9b59747bd13') - -package() { - npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - - # Non-deterministic race in npm gives 777 permissions to random directories. - # See https://github.com/npm/npm/issues/9359 for details. - chmod -R u=rwX,go=rX "$pkgdir" - - # npm installs package.json owned by build user - # https://bugs.archlinux.org/task/63396 - chown -R root:root "$pkgdir" -} - -# vim:set ts=2 sw=2 et: Copied: typescript/repos/community-any/PKGBUILD (from rev 969116, typescript/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-01 03:00:50 UTC (rev 969117) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Bruno Galeotti <bgaleotti at gmail dot com> + +pkgname=typescript +pkgver=4.3.5 +pkgrel=1 +pkgdesc="TypeScript is a language for application scale JavaScript development" +arch=('any') +url="http://typescriptlang.org/" +license=('Apache') +depends=('nodejs') +makedepends=('npm') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('0ea4208a1690f5c52bb24268f642325bffa0d15c6c93c703b59e766b734687460d4dfa54480ad74a88725069ef6cf6b310f2eedfdf02d14c662923ab3ee994cc') + +package() { + npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + # Non-deterministic race in npm gives 777 permissions to random directories. + # See https://github.com/npm/npm/issues/9359 for details. + chmod -R u=rwX,go=rX "$pkgdir" + + # npm installs package.json owned by build user + # https://bugs.archlinux.org/task/63396 + chown -R root:root "$pkgdir" +} + +# vim:set ts=2 sw=2 et: