name='yarn'

version='1.22.22'
release='5'
This commit is contained in:
Евгений Храмов 2024-07-27 13:23:22 +03:00
parent 0186f78861
commit 8f26ad4a09

@ -1,6 +1,6 @@
name='yarn'
version='1.22.22'
release='4'
release='5'
desc='Fast, reliable, and secure dependency management.'
homepage='https://classic.yarnpkg.com/'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
@ -26,8 +26,8 @@ build() {
package() {
install -d "$pkgdir"/{usr/bin,/usr/lib/node_modules/$name/bin}
ln -s $/usr/lib/node_modules/$name/bin/$name.js "$pkgdir"/usr/bin/$name
ln -s $/usr/lib/node_modules/$name/bin/$name.js "$pkgdir"/usr/bin/${name}pkg
ln -s /usr/lib/node_modules/$name/bin/$name.js "$pkgdir"/usr/bin/$name
ln -s /usr/lib/node_modules/$name/bin/$name.js "$pkgdir"/usr/bin/${name}pkg
cd $name
# Prune unnecessary packages