node-gyp
This commit is contained in:
parent
d9cbac1102
commit
a9dbb7b998
23
node-gyp/lure.sh
Normal file
23
node-gyp/lure.sh
Normal file
@ -0,0 +1,23 @@
|
||||
name='node-gyp'
|
||||
version='10.1.0'
|
||||
release='2'
|
||||
desc='Node.js native addon build tool'
|
||||
homepage='https://github.com/nodejs/node-gyp'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('amd64')
|
||||
license=('MIT')
|
||||
provides=('node-gyp')
|
||||
conflicts=('node-gyp')
|
||||
|
||||
deps=('nodejs' 'nodejs-nopt' 'python' 'semver')
|
||||
build_deps=('npm')
|
||||
sources=("https://registry.npmjs.org/node-gyp/-/node-gyp-${version}.tgz?~archive=false")
|
||||
checksums=('SKIP')
|
||||
|
||||
package() {
|
||||
npm install -g --prefix "${pkgdir}/usr node-gyp-${version}.tgz"
|
||||
rm -r "${pkgdir}/usr/lib/node_modules/node-gyp/node_modules/{,.bin/}nopt"
|
||||
rm -r "${pkgdir}/usr/lib/node_modules/node-gyp/node_modules/{,.bin/}semver"
|
||||
install -d "${pkgdir}/usr/share/licenses/node-gyp"
|
||||
ln -s ../../../lib/node_modules/node-gyp/LICENSE "${pkgdir}/usr/share/licenses/node-gyp/LICENSE"
|
||||
}
|
@ -9,6 +9,9 @@ license=('MIT')
|
||||
provides=('pnpm')
|
||||
conflicts=('pnpm' 'pnpm-git')
|
||||
|
||||
deps=('node-gyp')
|
||||
build_deps=('git')
|
||||
|
||||
sources=("https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-linux-x64?~archive=false"
|
||||
"git+https://github.com/pnpm/pnpm.git#tag=v${version}?~archive=false")
|
||||
checksums=('SKIP'
|
||||
|
Loading…
Reference in New Issue
Block a user