blob: a37dfcedb980508da4b0efab1ca353f927370a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Maintainer: Daniele Basso <d dot bass05 at proton dot me>
pkgname='corepacker'
pkgver=0.0.0
pkgrel=7
pkgdesc='Remove npm, yarn and pnpm using corepack'
arch=('any')
url='https://github.com/nodejs/corepack/'
license=('MIT')
provides=("npm" "yarn" "pnpm" "node-gyp" "nodejs-nopt")
conflicts=("npm" "yarn" "pnpm")
depends=("nodejs")
package() {
install -dm 755 $pkgdir/usr/bin
/bin/corepack enable --install-directory $pkgdir/usr/bin
/bin/corepack enable --install-directory $pkgdir/usr/bin npm
}
|