Date: Thursday, July 11, 2019 @ 07:22:01 Author: felixonmars Revision: 488675
archrelease: copy trunk to community-any Added: node-gyp/repos/community-any/PKGBUILD (from rev 488674, node-gyp/trunk/PKGBUILD) Deleted: node-gyp/repos/community-any/PKGBUILD ----------+ PKGBUILD | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-11 07:21:51 UTC (rev 488674) +++ PKGBUILD 2019-07-11 07:22:01 UTC (rev 488675) @@ -1,27 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=node-gyp -pkgver=5.0.0 -pkgrel=1 -pkgdesc='Node.js native addon build tool' -arch=('any') -url='https://github.com/nodejs/node-gyp' -license=('MIT') -depends=('nodejs' 'semver') -makedepends=('npm') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('e887a620c3ad085b0c9bf1911c172500a28b3816600a3bdd655c2e2108498a7a35e01333e681404972d390f80385b62cb9c336f7bf4ddff80f2c69737e9932fd') - -package() { - npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - - # Why 777? :/ - chmod -R u=rwX,go=rX "$pkgdir" - - # Experimental dedup - rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver - - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: node-gyp/repos/community-any/PKGBUILD (from rev 488674, node-gyp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-11 07:22:01 UTC (rev 488675) @@ -0,0 +1,27 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=node-gyp +pkgver=5.0.2 +pkgrel=1 +pkgdesc='Node.js native addon build tool' +arch=('any') +url='https://github.com/nodejs/node-gyp' +license=('MIT') +depends=('nodejs' 'semver') +makedepends=('npm') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('b0d71be4eede27d5e234085667f504d9b5ac0499f725beeb6b232a30fe308de9e5af50f0cd9c5499bb6622b974e04534a797cddab53d5880d5faed046ec23ca1') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + # Why 777? :/ + chmod -R u=rwX,go=rX "$pkgdir" + + # Experimental dedup + rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/semver + + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}