alr переименование

This commit is contained in:
2024-05-05 14:44:01 +03:00
parent 08abb1d5f6
commit 5a34f223c3
32 changed files with 0 additions and 0 deletions

27
node-gyp/alr.sh Normal file
View File

@ -0,0 +1,27 @@
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' 'node-semver')
build_deps=('npm')
sources=("https://registry.npmjs.org/node-gyp/-/node-gyp-${version}.tgz?~archive=false")
checksums=('SKIP')
prepare() {
cd "${srcdir}"
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
}
package() {
install -d ${pkgdir}/usr/share/licenses/node-gyp
ln -s ../../../lib/node_modules/node-gyp/LICENSE ${pkgdir}/usr/share/licenses/node-gyp/LICENSE
}